linux/arch/arm/common
PrasannaKumar Muralidharan ca75d601b5 miscdevice: Add helper macro for misc device boilerplate
Many modules call misc_register and misc_deregister in its module init
and exit methods without any additional code. This ends up being
boilerplate. This patch adds helper macro module_misc_device(), that
replaces module_init()/ module_exit() with template functions.

This patch also converts drivers to use new macro.

Change since v1:
Add device.h include in miscdevice.h as module_driver macro was not
available from other include files in some architectures.

Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-31 14:12:35 +02:00
..
bL_switcher_dummy_if.c miscdevice: Add helper macro for misc device boilerplate 2016-08-31 14:12:35 +02:00
bL_switcher.c arm/bL_switcher: Kill tick suspend hackery 2015-04-01 14:23:00 +02:00
dmabounce.c dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
firmware.c ARM: Add interface for registering and calling firmware-specific operations 2013-04-09 01:52:06 +09:00
icst.c ARM: 8519/1: ICST: try other dividends than 1 2016-02-11 14:12:33 +00:00
it8152.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
Kconfig ARM/dmaengine: edma: Merge the two drivers under drivers/dma/ 2015-10-14 19:57:11 +05:30
locomo.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
Makefile ARM/dmaengine: edma: Merge the two drivers under drivers/dma/ 2015-10-14 19:57:11 +05:30
mcpm_entry.c ARM: MCPM: remove residency argument from mcpm_cpu_suspend() 2015-05-06 11:47:10 -04:00
mcpm_head.S ARM: replace BSYM() with badr assembly macro 2015-05-08 17:33:50 +01:00
mcpm_platsmp.c ARM: use const and __initconst for smp_operations 2015-12-01 22:17:45 +01:00
sa1111.c ARM: 8523/1: sa1111: ensure no negative value gets returned on positive match 2016-02-16 16:28:50 +00:00
scoop.c ARM: scoop: use gpiochip data pointer 2016-02-19 09:51:41 +01:00
sharpsl_param.c ARM: 7845/1: sharpsl_param.c: fix invalid memory access for pxa devices 2013-10-03 10:39:43 +01:00
vlock.h ARM: mcpm: Add baremetal voting mutexes 2013-04-24 10:37:01 -04:00
vlock.S ARM: mcpm: use -st dsb option prior to sev instructions 2013-08-12 12:25:45 +01:00