summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/windfarm_ad7417_sensor.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-02-17 11:27:49 +0100
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-04-16 12:03:25 +0200
commit276bee05d8b72e98d530b55161e0a2131da99f58 (patch)
treeaa0e17853a543a9df4cafebcda4aa93d1f51afaf /drivers/macintosh/windfarm_ad7417_sensor.c
parentclocksource: sh_tmu: Sort headers alphabetically (diff)
downloadlinux-276bee05d8b72e98d530b55161e0a2131da99f58.tar.xz
linux-276bee05d8b72e98d530b55161e0a2131da99f58.zip
clocksource: sh_mtu2: Use request_irq() instead of setup_irq()
The driver claims it needs to register an interrupt handler too early for request_irq(). This might have been true in the past, but the only meaningful difference between request_irq() and setup_irq() today is an additional kzalloc() call in request_irq(). As the driver calls kmalloc() itself we know that the slab allocator is available, we can thus switch to request_irq(). Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Tested-by: Wolfram Sang <wsa@sang-engineering.com>
Diffstat (limited to 'drivers/macintosh/windfarm_ad7417_sensor.c')
0 files changed, 0 insertions, 0 deletions