aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-atmel-pit.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2015-07-06 10:09:18 +0000
committerDaniel Lezcano <[email protected]>2015-08-10 09:40:55 +0000
commit26b91f043abda63dd240374f0eac05e7283a509c (patch)
tree79ce10f966d004c5c4a6480eba70c89bc3d6b961 /drivers/clocksource/timer-atmel-pit.c
parentclockevents/drivers/sh_cmt: Remove obsolete sh-cmt-48 platform_device_id entry (diff)
downloadkernel-26b91f043abda63dd240374f0eac05e7283a509c.tar.gz
kernel-26b91f043abda63dd240374f0eac05e7283a509c.zip
clockevents/drivers/timer-imx-gpt: Migrate to new 'set-state' interface
Migrate timer-imx-gpt driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Also drop: - 'imx_timer.cem': It was caching the last state of the clockevent device. The same behavior can be achieved by using clockevents state helpers. These helpers are only required for oneshot mode as shutdown/resume wouldn't be done twice by the core. - 'clock_event_mode_label': CLOCK_EVT_MODE_* shouldn't be used anymore by drivers. The prints are modified to print the set-state functions name now to debug the driver. Cc: Shawn Guo <[email protected]> Cc: Daniel Lezcano <[email protected]> Signed-off-by: Viresh Kumar <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-atmel-pit.c')
0 files changed, 0 insertions, 0 deletions