[PATCH] mfd: remove redundant devm_* for 88pm80x PMIC

Samuel Ortiz sameo at linux.intel.com
Sun Feb 3 17:31:43 EST 2013


Hi Yi,

On Tue, Jan 22, 2013 at 10:43:45AM +0800, Yi Zhang wrote:
> devm_* functions are device managed and make error handling
> and code simpler; it also fix error exit paths
> 
> Signed-off-by: Yi Zhang <yizhang at marvell.com>
> ---
>  drivers/mfd/88pm800.c       |   10 +++-------
>  drivers/mfd/88pm805.c       |    4 ++--
>  drivers/mfd/88pm80x.c       |   22 ++++------------------
>  include/linux/mfd/88pm80x.h |    2 +-
>  4 files changed, 10 insertions(+), 28 deletions(-)
Applied, thanks for the fix.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/



More information about the linux-arm-kernel mailing list