]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: replace clk_get() with devm_clk_get()
authorGujulan Elango, Hari Prasath (H.) <hgujulan@visteon.com>
Tue, 2 Feb 2016 12:56:32 +0000 (12:56 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 6 Feb 2016 18:42:54 +0000 (18:42 +0000)
commit924ce6b0b5204c88b20dc3f694e491c6d6728f1d
tree1fb342c5e2a4bce24e042dd90a876ebdb1346d0e
parenta431415f1af436898018356445f6e545d2b8e317
staging: iio: replace clk_get() with devm_clk_get()

This patch replaces the clk_get() with devm_clk_get().Accordingly,modified
the error paths,rename error labels and removed clk_put() in probe() &
remove functions.

Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/spear_adc.c