linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: i2c-smbus: fix i2c_handle_smbus_host_notify documentation
@ 2016-07-16 13:45 Jean Delvare
  2016-07-18 15:01 ` Benjamin Tissoires
  2016-07-18 18:12 ` Wolfram Sang
  0 siblings, 2 replies; 3+ messages in thread
From: Jean Delvare @ 2016-07-16 13:45 UTC (permalink / raw)
  To: Linux I2C; +Cc: Benjamin Tissoires, Wolfram Sang

The parameter description is from a previous implementation, update
it to describe the actual implementation.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: Wolfram Sang <wsa@the-dreams.de>
---
 drivers/i2c/i2c-smbus.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/i2c/i2c-smbus.c
+++ b/drivers/i2c/i2c-smbus.c
@@ -302,8 +302,8 @@ EXPORT_SYMBOL_GPL(i2c_setup_smbus_host_n
  * 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

-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] i2c: i2c-smbus: fix i2c_handle_smbus_host_notify documentation
  2016-07-16 13:45 [PATCH] i2c: i2c-smbus: fix i2c_handle_smbus_host_notify documentation Jean Delvare
@ 2016-07-18 15:01 ` Benjamin Tissoires
  2016-07-18 18:12 ` Wolfram Sang
  1 sibling, 0 replies; 3+ messages in thread
From: Benjamin Tissoires @ 2016-07-18 15:01 UTC (permalink / raw)
  To: Jean Delvare; +Cc: Linux I2C, Wolfram Sang

On Jul 16 2016 or thereabouts, Jean Delvare wrote:
> The parameter description is from a previous implementation, update
> it to describe the actual implementation.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
> Cc: Wolfram Sang <wsa@the-dreams.de>
> ---

Good catch, thanks for fixing it.

Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>

Cheers,
Benjamin

>  drivers/i2c/i2c-smbus.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> --- a/drivers/i2c/i2c-smbus.c
> +++ b/drivers/i2c/i2c-smbus.c
> @@ -302,8 +302,8 @@ EXPORT_SYMBOL_GPL(i2c_setup_smbus_host_n
>   * 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
> 
> -- 
> Jean Delvare
> SUSE L3 Support
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] i2c: i2c-smbus: fix i2c_handle_smbus_host_notify documentation
  2016-07-16 13:45 [PATCH] i2c: i2c-smbus: fix i2c_handle_smbus_host_notify documentation Jean Delvare
  2016-07-18 15:01 ` Benjamin Tissoires
@ 2016-07-18 18:12 ` Wolfram Sang
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2016-07-18 18:12 UTC (permalink / raw)
  To: Jean Delvare; +Cc: Linux I2C, Benjamin Tissoires

[-- Attachment #1: Type: text/plain, Size: 365 bytes --]

On Sat, Jul 16, 2016 at 03:45:23PM +0200, Jean Delvare wrote:
> The parameter description is from a previous implementation, update
> it to describe the actual implementation.
> 
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
> Cc: Wolfram Sang <wsa@the-dreams.de>

Applied to for-next, thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-18 18:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-16 13:45 [PATCH] i2c: i2c-smbus: fix i2c_handle_smbus_host_notify documentation Jean Delvare
2016-07-18 15:01 ` Benjamin Tissoires
2016-07-18 18:12 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).