summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2016-05-02 01:44:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-05-02 19:32:04 +0300
commit9c2cfc19e64a513a1b9e55f78e38661a1b97b91e (patch)
treea4f99fe4bad5ea50c9897f22c9ea9eff8cd7057a /net/lapb/lapb_subr.c
parent136c9568457d7747f63c23f9acb01a0e831f351a (diff)
downloadlinux-9c2cfc19e64a513a1b9e55f78e38661a1b97b91e.tar.xz
iio: stx104: Utilize the module_isa_driver and max_num_isa_dev macros
The Apex Embedded Systems STX104 DAC drivers does not do anything special in module init/exit. This patch eliminates the module init/exit boilerplate code by utilizing the module_isa_driver macro. Additionally, the max_num_isa_dev macro is utilized to simplify the determination of maximum possible STX104 devices in the system. Cc: Jonathan Cameron <jic23@kernel.org> Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions