]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commitb8cc27ca4cce107460fca33acad3f96a8c26e015
tree1fb342c5e2a4bce24e042dd90a876ebdb1346d0e
parent3b31b783add21b47bc0314ddf33c9af9247a1d65
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