From patchwork Sat Jul 16 13:45:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 649108 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3rs9gD1rsNz9sR8 for ; Sat, 16 Jul 2016 23:45:28 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751394AbcGPNp1 (ORCPT ); Sat, 16 Jul 2016 09:45:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:45581 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751380AbcGPNp0 (ORCPT ); Sat, 16 Jul 2016 09:45:26 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id DD0FCAAB7; Sat, 16 Jul 2016 13:45:24 +0000 (UTC) Message-ID: <1468676723.17822.3.camel@chaos.suse> Subject: [PATCH] i2c: i2c-smbus: fix i2c_handle_smbus_host_notify documentation From: Jean Delvare To: Linux I2C Cc: Benjamin Tissoires , Wolfram Sang Date: Sat, 16 Jul 2016 15:45:23 +0200 Organization: Suse Linux X-Mailer: Evolution 3.10.4 Mime-Version: 1.0 Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org The parameter description is from a previous implementation, update it to describe the actual implementation. Signed-off-by: Jean Delvare Cc: Benjamin Tissoires Cc: Wolfram Sang Reviewed-by: Benjamin Tissoires --- 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