parport: Introduce module_parport_driver() helper macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 3 Mar 2021 09:16:40 +0000 (11:16 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 12:46:04 +0000 (12:46 +0000)
commita0521f70aee008f8b574f13ebdf0010f2f90db62
tree6b8e9ff17d190a5e81cd86303bd7a490b5dcd26b
parentffb597b2bd3cd78b9bfb68f536743cd46dbb2cc4
parport: Introduce module_parport_driver() helper macro

Introduce module_parport_driver() helper macro to reduce boilerplate
in the existing and new code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20210303091642.23929-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/parport.h