]> git.baikalelectronics.ru Git - kernel.git/commit
drm/fsl-dcu: remove regmap return value checks
authorStefan Agner <stefan@agner.ch>
Thu, 19 Nov 2015 00:50:55 +0000 (16:50 -0800)
committerStefan Agner <stefan@agner.ch>
Fri, 26 Feb 2016 00:13:16 +0000 (16:13 -0800)
commit8ad1b42f1764f1345ae7b53bc54e02ba08958825
tree6620db38318f08e25eec92e9e56a628cbf86ac38
parentf89e5ff3b86d0674035fe33da5b6bf5e46206676
drm/fsl-dcu: remove regmap return value checks

It is not common to do regmap return value checks, especially not
for memory mapped device. We can rule out most error returns since
the conditions are static and we know they are ok (e.g. offset
aligned to register stride). Also without proper error handling
they are not really valuable for the user. Hence remove most of
them.

The check in the interrupt handler is worth keeping since a
volatile register won't be readable in case register caching is
still enabled.

Signed-off-by: Stefan Agner <stefan@agner.ch>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c