projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b874f41
)
regulator: max8952: Silence checkpatch warning
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 18 Mar 2014 10:23:04 +0000
(15:53 +0530)
committer
Mark Brown
<broonie@linaro.org>
Tue, 18 Mar 2014 12:43:20 +0000
(12:43 +0000)
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>
drivers/regulator/max8952.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/max8952.c
b/drivers/regulator/max8952.c
index c5ee3cc048eeab6aabf66206b99406bdee442db1..d920f5a32ec8e935bd5288b571dd9adb3076c319 100644
(file)
--- 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;