i2c: gpio: Use devm_gpio_request()
authorJingoo Han <jg1.han@samsung.com>
Tue, 17 Dec 2013 06:48:19 +0000 (15:48 +0900)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 22 May 2014 08:09:25 +0000 (10:09 +0200)
commita0682a31588990cb6f870f1a48cf019525605625
treec30f56142299c12100baf247b1c282e89f0374b8
parentfa96faaa119b3f5f8c3936e290913258d2712ef3
i2c: gpio: Use devm_gpio_request()

Use devm_gpio_request() to make cleanup paths simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Reviewed-by: Violeta Menendez <violeta.menendez@codethink.co.uk>
Reviewed-by: Ian Molton <ian.molton@codethink.co.uk>
Tested-by: Violeta Menendez <violeta.menendez@codethink.co.uk>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-gpio.c