aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/time-lpc32xx.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-06 18:00:14 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2016-06-28 10:19:27 +0200
commitdc5011131b8c78d1f5040bf0f79b7c38b4211fe6 (patch)
tree0b68cfb9efc4e7b35aa3cb98d8844f2cc3d7ac05 /drivers/clocksource/time-lpc32xx.c
parentclocksource/drivers/time-armada-370-xp: Convert init function to return error (diff)
downloadlinux-dev-dc5011131b8c78d1f5040bf0f79b7c38b4211fe6.tar.xz
linux-dev-dc5011131b8c78d1f5040bf0f79b7c38b4211fe6.zip
clocksource/drivers/time-efm32: Convert init function to return error
The init functions do not return any error and let the caller unaware of the state of the system. Change that by converting the init functions to return an error conforming to the CLOCKSOURCE_OF_RET prototype. Proper error handling (rollback, errno value) will be changed later case by case, thus this change just return back an error or success in the init function. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/clocksource/time-lpc32xx.c')
0 files changed, 0 insertions, 0 deletions