i2c: i2c-smbus: fix i2c_handle_smbus_host_notify documentation
authorJean Delvare <jdelvare@suse.de>
Sat, 16 Jul 2016 13:45:23 +0000 (15:45 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 18 Jul 2016 18:09:54 +0000 (20:09 +0200)
The parameter description is from a previous implementation, update
it to describe the actual implementation.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-smbus.c

index f574995..b0d2679 100644 (file)
@@ -302,8 +302,8 @@ EXPORT_SYMBOL_GPL(i2c_setup_smbus_host_notify);
  * i2c_handle_smbus_host_notify - Forward a Host Notify event to the correct
  * I2C client.
  * @host_notify: the struct host_notify attached to the relevant adapter
- * @data: the Host Notify data which contains the payload and address of the
- * client
+ * @addr: the I2C address of the notifying device
+ * @data: the payload of the notification
  * Context: can't sleep
  *
  * Helper function to be called from an I2C bus driver's interrupt