commit | add243d5bc371eef66f81c9da4fd4b55a18dad23 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Aug 06 16:04:23 2015 +0300 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Aug 18 17:21:36 2015 -0700 |
tree | 6dc7dd2f9225273b5ab0afcb6fe7722c6b62d75d | |
parent | 2445d33d852320d4ce700b2428d60991f8cf478f [diff] |
mtd: denali_pci: refactor driver using devres API In recent kernels we have a lot of helper functions, including devres API, to make life of device driver developer easy. Convert the driver using devm_kzalloc() and pcim_enable_device(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>