[PATCH 0/8] mfd: Simplify return logic

From: Javier Martinez Canillas
Date: Tue Sep 29 2015 - 07:26:28 EST


Hello Lee,

This series contains trivial patches that simplify the return logic in
a number of functions in mfd drivers. All these were found by running
make coccichek M=drivers/mfd.

The patches don't contain functional changes but makes the functions
simpler and removes unnecessary lines of code.

Best regards,
Javier


Javier Martinez Canillas (8):
mfd: htc-i2cpld: Remove unneded ret variable
mfd: arizona: Remove unneded ret variable
mfd: pcf50633: Remove unneded ret variable
mfd: kempld-core: Simplify function return logic
mfd: rtsx: Simplify function return logic
mfd: da903x: Simplify function return logic
mfd: da9052: Simplify function return logic
mfd: lm3533: Simplify function return logic

drivers/mfd/arizona-core.c | 4 +---
drivers/mfd/da903x.c | 6 +-----
drivers/mfd/da9052-i2c.c | 6 +-----
drivers/mfd/da9052-spi.c | 6 +-----
drivers/mfd/htc-i2cpld.c | 3 +--
drivers/mfd/kempld-core.c | 14 ++------------
drivers/mfd/lm3533-core.c | 12 ++----------
drivers/mfd/pcf50633-irq.c | 4 ++--
drivers/mfd/rts5209.c | 6 +-----
drivers/mfd/rts5227.c | 6 +-----
drivers/mfd/rts5229.c | 6 +-----
drivers/mfd/rts5249.c | 6 +-----
drivers/mfd/rtsx_pcr.c | 6 +-----
13 files changed, 16 insertions(+), 69 deletions(-)

--
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/