[PATCH] Fix partial warnings of checkpatch.pl for drivers/staging/greybus/i2c.c

2018-03-06 Thread Horatiu Vultur
Fix partial warnings of checkpatch.pl for drivers/staging/greybus/i2c.c

Signed-off-by: Horatiu Vultur 
---
 drivers/staging/greybus/i2c.c | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/greybus/i2c.c b/drivers/staging/greybus/i2c.c
index 58a37de..aec3cc6 100644
--- a/drivers/staging/greybus/i2c.c
+++ b/drivers/staging/greybus/i2c.c
@@ -137,7 +137,7 @@ gb_i2c_operation_create(struct gb_connection *connection,
 }
 
 static void gb_i2c_decode_response(struct i2c_msg *msgs, u32 msg_count,
-   struct gb_i2c_transfer_response *response)
+  struct gb_i2c_transfer_response *response)
 {
struct i2c_msg *msg = msgs;
u8 *data;
@@ -164,7 +164,7 @@ static bool gb_i2c_expected_transfer_error(int errno)
 }
 
 static int gb_i2c_transfer_operation(struct gb_i2c_device *gb_i2c_dev,
-   struct i2c_msg *msgs, u32 msg_count)
+struct i2c_msg *msgs, u32 msg_count)
 {
struct gb_connection *connection = gb_i2c_dev->connection;
struct device *dev = &gb_i2c_dev->gbphy_dev->dev;
@@ -199,7 +199,7 @@ static int gb_i2c_transfer_operation(struct gb_i2c_device 
*gb_i2c_dev,
 }
 
 static int gb_i2c_master_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs,
-   int msg_count)
+ int msg_count)
 {
struct gb_i2c_device *gb_i2c_dev;
 
@@ -249,7 +249,7 @@ static int gb_i2c_device_setup(struct gb_i2c_device 
*gb_i2c_dev)
 }
 
 static int gb_i2c_probe(struct gbphy_device *gbphy_dev,
-const struct gbphy_device_id *id)
+   const struct gbphy_device_id *id)
 {
struct gb_connection *connection;
struct gb_i2c_device *gb_i2c_dev;
-- 
2.7.4

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: [PATCH] Fix partial warnings of checkpatch.pl for drivers/staging/greybus/i2c.c

2018-03-14 Thread Greg KH
On Tue, Mar 06, 2018 at 07:52:46PM +0100, Horatiu Vultur wrote:
> Fix partial warnings of checkpatch.pl for drivers/staging/greybus/i2c.c

What do you mean by "partial"?

And why did you not cc: the people that scripts/get_maintainer.pl told
you to?

Please provide a better description here in the changelog text and cc:
the correct people so they can review the patch.

thanks,

greg k-h
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel