]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
device property: Fix the description of struct fwnode_operations
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Tue, 8 Oct 2019 13:26:06 +0000 (16:26 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Oct 2019 09:33:26 +0000 (11:33 +0200)
Adding description for the device_is_available member which
was missing, and fixing the description of the member
property_read_int_array.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/fwnode.h

index a5673c4674cfa03c81823dce6368d8096e48bb43..9d9dc444d7873c8f523452b09f23ff515e7173a3 100644 (file)
@@ -49,11 +49,11 @@ struct fwnode_reference_args {
  * struct fwnode_operations - Operations for fwnode interface
  * @get: Get a reference to an fwnode.
  * @put: Put a reference to an fwnode.
+ * @device_is_available: Return true if the device is available.
  * @device_get_match_data: Return the device driver match data.
  * @property_present: Return true if a property is present.
- * @property_read_integer_array: Read an array of integer properties. Return
- *                              zero on success, a negative error code
- *                              otherwise.
+ * @property_read_int_array: Read an array of integer properties. Return zero on
+ *                          success, a negative error code otherwise.
  * @property_read_string_array: Read an array of string properties. Return zero
  *                             on success, a negative error code otherwise.
  * @get_name: Return the name of an fwnode.