commit | 41e48c3d8070eba700f570c600c33c95486c17c3 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Mar 19 20:49:22 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 19 14:59:31 2019 -0700 |
tree | 2eeac8ec0f2bcdfcc5a1da0af26b363854938785 | |
parent | 571fb070a147b4a25e9678c7ab492d13e8584097 [diff] |
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>