summaryrefslogtreecommitdiff
path: root/drivers/misc/eeprom
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-05-22 09:55:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-27 15:46:57 +0300
commit394febc9d0a607d6310e14d8248af62125feb5d1 (patch)
treecedfeb3d89867a04cbddbb8986ac769c599695df /drivers/misc/eeprom
parenta224db273accc43699598a89895f9215ccfc2f31 (diff)
downloadlinux-394febc9d0a607d6310e14d8248af62125feb5d1.tar.xz
misc/pvpanic: Make 'pvpanic_probe()' resource managed
Simplify code and turn 'pvpanic_probe()' into a managed resource version. This simplify callers that don't need to do some clean-up on error in the probe and on remove. Update pvpanic-mmio.c and pvpanic-pci.c accordingly. 'pvpanic_remove()' don't need to be exported anymore. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/9212cdc8c1e5c187a2f1129a6190085c2a10d28a.1621665058.git.christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/eeprom')
0 files changed, 0 insertions, 0 deletions