aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-atmel-pit.c
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2014-07-01 09:33:20 +0000
committerNicolas Ferre <[email protected]>2014-09-03 08:55:42 +0000
commita981b29f027ace1b27fb4a96cef6cbfee49dbdd7 (patch)
tree309932e36297ffc7d9a790d5c3d3ec3b979c8eb4 /drivers/clocksource/timer-atmel-pit.c
parentARM: at91: dt: Remove init_time definitions (diff)
downloadkernel-a981b29f027ace1b27fb4a96cef6cbfee49dbdd7.tar.gz
kernel-a981b29f027ace1b27fb4a96cef6cbfee49dbdd7.zip
ARM: at91: PIT: Use consistent exit path in probe
The current probe code is, whenever it fails to retrieve a resource, either panicing, silently returning, or returning and displaying an error. Make the code consistent by always panicing whenever it fails to grab any resource. Signed-off-by: Maxime Ripard <[email protected]> Acked-by: Boris BREZILLON <[email protected]> Acked-by: Alexandre Belloni <[email protected]> Acked-by: Daniel Lezcano <[email protected]> Signed-off-by: Nicolas Ferre <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-atmel-pit.c')
0 files changed, 0 insertions, 0 deletions