diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-03-18 15:53:04 +0530 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-18 12:43:20 +0000 |
commit | a5f8f96307f5a653018b9c7d91e620ef6bebd55c (patch) | |
tree | 00d4ccb8badd91a831617246a4e75be67fe010df /drivers/regulator/max8952.c | |
parent | b874f41c6b3da1a65054f8a8c2fbe77faa9d80be (diff) | |
download | op-kernel-dev-a5f8f96307f5a653018b9c7d91e620ef6bebd55c.zip op-kernel-dev-a5f8f96307f5a653018b9c7d91e620ef6bebd55c.tar.gz |
regulator: max8952: Silence checkpatch warning
Silences the following type of checkpatch warning:
WARNING: Missing a blank line after declarations
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/max8952.c')
-rw-r--r-- | drivers/regulator/max8952.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/max8952.c b/drivers/regulator/max8952.c index c5ee3cc..d920f5a 100644 --- a/drivers/regulator/max8952.c +++ b/drivers/regulator/max8952.c @@ -57,6 +57,7 @@ struct max8952_data { static int max8952_read_reg(struct max8952_data *max8952, u8 reg) { int ret = i2c_smbus_read_byte_data(max8952->client, reg); + if (ret > 0) ret &= 0xff; |