[PATCH 0/3] check regulator_enable() return value

From: Fabio Baltieri
Date: Wed Apr 03 2013 - 10:02:47 EST


Hello Felipe,

While testing your 'next' branch merged with today's next I got some new
warnings, caused by a recently introduced __must_check in:

c8801a8 regulator: core: Mark all get and enable calls as __must_check

These patches introduces a check for regulator_enable() return value in
all three affected USB phy drivers, and issue a dev_err() in case it
fails.

TWL4030 and TWL6030 patches has been build-tested only.

Thanks,
Fabio


Fabio Baltieri (3):
usb: phy: ab8500-usb: check regulator_enable return value
usb: phy: twl4030-usb: check regulator_enable return value
usb: phy: twl6030-usb: check regulator_enable return value

drivers/usb/phy/phy-ab8500-usb.c | 12 +++++++++---
drivers/usb/phy/phy-twl4030-usb.c | 18 +++++++++++++++---
drivers/usb/phy/phy-twl6030-usb.c | 11 +++++++++--
3 files changed, 33 insertions(+), 8 deletions(-)

--
1.8.1.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/