hwmon (pmbus/max20730): Whitespace cleanups in max20730.c
PATCH 1/1 hwmon (pmbus/max20730): Whitespace cleanups in max20730.c
Drop trailing whitespace.
Signed-off-by Wang ShaoBo <[email protected]>
--- drivers/hwmon/pmbus/max20730.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/hwmon/pmbus/max20730.c +2 -2
@@ -309,7 +309,7 @@ static int max20730_probe(struct i2c_client *client,I2C_FUNC_SMBUS_READ_WORD_DATA | I2C_FUNC_SMBUS_BLOCK_DATA)) return -ENODEV; - + ret =i2c_smbus_read_block_data (client,PMBUS_MFR_ID , buf);if (ret <0 ) {dev_err (&client->dev,"Failed to read Manufacturer ID\n" );
@@ -373,7 +373,7 @@ static int max20730_probe(struct i2c_client *client, ret =pmbus_do_probe (client, id, &data->info);if (ret <0 )return ret; - +return 0 ; }
Signature · 1 line
2.17.1
Guenter Roeck
maintainerQuoted 21 lines · Wang ShaoBo
Drop trailing whitespace.
Signed-off-by Wang ShaoBo <[email protected]>--- drivers/hwmon/pmbus/max20730.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/hwmon/pmbus/max20730.c +1
-1@@ -309,7 +309,7 @@ static int max20730_probe(struct i2c_client *client,I2C_FUNC_SMBUS_READ_WORD_DATA | I2C_FUNC_SMBUS_BLOCK_DATA)) return -ENODEV; - + ret =i2c_smbus_read_block_data (client,PMBUS_MFR_ID , buf);if (ret <0 ) {dev_err (&client->dev,"Failed to read Manufacturer ID\n" );
drivers/hwmon/pmbus/max20730.c static int max20730_probe(struct i2c_client *client, · line 377
Quoted 6 lines
drivers/hwmon/pmbus/max20730.c +1
-1@@ -373,7 +373,7 @@ static int max20730_probe(struct i2c_client *client, ret =pmbus_do_probe (client, id, &data->info);if (ret <0 )return ret; - +return 0 ;
The code you are fixing is not in the mainline kernel, and your patch does not apply.
Guenter
Guenter Roeck
maintainerQuoted 23 lines · Guenter Roeck
Quoted 22 lines · Wang ShaoBo
Drop trailing whitespace.
Signed-off-by Wang ShaoBo <[email protected]>--- drivers/hwmon/pmbus/max20730.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/hwmon/pmbus/max20730.c +1
-1@@ -309,7 +309,7 @@ static int max20730_probe(struct i2c_client *client,I2C_FUNC_SMBUS_READ_WORD_DATA | I2C_FUNC_SMBUS_BLOCK_DATA)) return -ENODEV; - + ret =i2c_smbus_read_block_data (client,PMBUS_MFR_ID , buf);if (ret <0 ) {dev_err (&client->dev,"Failed to read Manufacturer ID\n" );@@ -373,7 +373,7 @@ static int max20730_probe(struct i2c_client *client, ret =pmbus_do_probe (client, id, &data->info);
Quoted 9 lines
drivers/hwmon/pmbus/max20730.c static int max20730_probe(struct i2c_client *client, · line 377
Quoted 5 lines
drivers/hwmon/pmbus/max20730.c +1
-1if (ret <0 )return ret; - +return 0 ;The code you are fixing is not in the mainline kernel, and your patch does not apply.
Wait, this code is in -next. I really didn't pay attention, sorry. I'll update the offending patch there. Thanks for bringing this to my attention.
Guenter