mei: simplify error handling via devres function.
Use devm_ and pcim_ functions to make error handling simpler and code smaller and tidier. Based on original patch by mei: me: use managed functions pcim_* and devm_* https://lkml.org/lkml/2016/2/1/339 Signed-off-by:Tomas Winkler <tomas.winkler@intel.com> Signed-off-by:
Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
- drivers/misc/mei/hw-me.c 3 additions, 3 deletionsdrivers/misc/mei/hw-me.c
- drivers/misc/mei/hw-txe.c 2 additions, 2 deletionsdrivers/misc/mei/hw-txe.c
- drivers/misc/mei/hw-txe.h 1 addition, 1 deletiondrivers/misc/mei/hw-txe.h
- drivers/misc/mei/pci-me.c 10 additions, 40 deletionsdrivers/misc/mei/pci-me.c
- drivers/misc/mei/pci-txe.c 10 additions, 59 deletionsdrivers/misc/mei/pci-txe.c
Please register or sign in to comment