i2c: pca954x: Use devm_* managed allocator
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 15 Jan 2014 14:22:31 +0000 (19:22 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Thu, 16 Jan 2014 06:08:51 +0000 (22:08 -0800)
commitb8ea8518fad4a049c003971cb33f4efaa901a1ea
treece49333c77c17ea2a8bcbe07f6f8bf5a50ce71cb
parente301588f084bacbc6683a6b80ad25c4685c77dd0
i2c: pca954x: Use devm_* managed allocator

This simplifies error and removal paths.

Change-Id: Ie39b6afaf6517b20ba7ea838dd43cbc141cce477
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/356051
drivers/i2c/muxes/i2c-mux-pca954x.c