diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-03-19 20:49:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-19 14:59:31 -0700 |
commit | 41e48c3d8070eba700f570c600c33c95486c17c3 (patch) | |
tree | 2eeac8ec0f2bcdfcc5a1da0af26b363854938785 /fs/internal.h | |
parent | enc28j60: Drop driver name duplication from messages (diff) | |
download | linux-dev-41e48c3d8070eba700f570c600c33c95486c17c3.tar.xz linux-dev-41e48c3d8070eba700f570c600c33c95486c17c3.zip |
enc28j60: Switch to use module_spi_driver() macro
Eliminate some boilerplate code by using module_spi_driver() instead of
->init() / ->exit(), moving the salient bits from ->init() into ->probe().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions