From a5f8f96307f5a653018b9c7d91e620ef6bebd55c Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Tue, 18 Mar 2014 15:53:04 +0530 Subject: regulator: max8952: Silence checkpatch warning Silences the following type of checkpatch warning: WARNING: Missing a blank line after declarations Signed-off-by: Sachin Kamat Signed-off-by: Mark Brown --- drivers/regulator/max8952.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/regulator/max8952.c') diff --git a/drivers/regulator/max8952.c b/drivers/regulator/max8952.c index c5ee3cc048e..d920f5a32ec 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; -- cgit v1.2.3-70-g09d2