All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cristian Kubis <cristian.kubis@tsunix.de>
To: unlisted-recipients:; (no To-header on input)
Cc: jfrederich@gmail.com, dsd@laptop.org, gregkh@linuxfoundation.org,
	devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	cristian.kubis@tsunix.de
Subject: [PATCH 2/2] staging: olpc_dcon: add missing identifier names
Date: Sun, 15 Jul 2018 00:25:41 +0200	[thread overview]
Message-ID: <20180714222541.2564-3-cristian.kubis@tsunix.de> (raw)
In-Reply-To: <20180714222541.2564-1-cristian.kubis@tsunix.de>

Add missing function argument identifier names as suggested by
checkpatch.pl.

Signed-off-by: Cristian Kubis <cristian.kubis@tsunix.de>
---
 drivers/staging/olpc_dcon/olpc_dcon.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/olpc_dcon/olpc_dcon.h b/drivers/staging/olpc_dcon/olpc_dcon.h
index fa89bb97c7b0..c987aaf894e7 100644
--- a/drivers/staging/olpc_dcon/olpc_dcon.h
+++ b/drivers/staging/olpc_dcon/olpc_dcon.h
@@ -91,10 +91,10 @@ struct dcon_priv {
 };
 
 struct dcon_platform_data {
-	int (*init)(struct dcon_priv *);
+	int (*init)(struct dcon_priv *dcon);
 	void (*bus_stabilize_wiggle)(void);
-	void (*set_dconload)(int);
-	int (*read_status)(u8 *);
+	void (*set_dconload)(int load);
+	int (*read_status)(u8 *status);
 };
 
 #include <linux/interrupt.h>
-- 
2.18.0


      parent reply	other threads:[~2018-07-14 22:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-14 22:25 [PATCH 0/2] staging: olpc_dcon: fix style warnings Cristian Kubis
2018-07-14 22:25 ` [PATCH 1/2] staging: olpc_dcon: prefer 'help' in KConfig Cristian Kubis
2018-07-14 22:25 ` Cristian Kubis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180714222541.2564-3-cristian.kubis@tsunix.de \
    --to=cristian.kubis@tsunix.de \
    --cc=devel@driverdev.osuosl.org \
    --cc=dsd@laptop.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jfrederich@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.