]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: Add comments about returning array counts
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 17 Mar 2015 07:58:58 +0000 (09:58 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Mar 2015 14:18:19 +0000 (15:18 +0100)
commitc889cafa4c4be562a5bb06ebe7d4e0425746b675
treef451e702b97b198eb39b95eb1eda992f6225572e
parent5948862fde9344a9b06eaa1e690e0f4eead9c09a
driver core: Add comments about returning array counts

The "read array" variants of the device property functions
can be used to return the number of values in an array.
Update the comments to reflect that.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/property.c