[media] s5p-mfc: Kill all IS_ERR_OR_NULL in clocks management code
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 16 Nov 2016 09:04:55 +0000 (07:04 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 30 Nov 2016 11:20:00 +0000 (09:20 -0200)
commit387e08e2021022e764a235df6c1f0ed3d861f711
tree3fab8d8b8b2b82dfa85d9135b80b861019c20367
parent7e55a016fac080118a634179405c821c31d8bd2e
[media] s5p-mfc: Kill all IS_ERR_OR_NULL in clocks management code

After commit "s5p-mfc: Fix clock management in s5p_mfc_release function"
all clocks related functions are called only when MFC device is really
available, so there is no additional check needed for NULL
gate clocks. This patch simplifies the code and kills IS_ERR_OR_NULL
macro usage.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/s5p-mfc/s5p_mfc_pm.c