]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/base/property.c
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)
commit5c0acf3b4f96abbd1fad40af7fdf0ed94cf523b7
treef451e702b97b198eb39b95eb1eda992f6225572e
parent06e5801b8cb3fc057d88cb4dc03c0b64b2744cda
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