aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorPeng Wu <[email protected]>2022-05-20 08:44:25 +0000
committerMiquel Raynal <[email protected]>2022-06-06 14:58:24 +0200
commit18178e03b124b0c6be17abbbca914157642f5d7a (patch)
tree77be9107c2cfb40e85a1ef705f1c47bb326fba3e /lib/netdev-notifier-error-inject.c
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
mtd: rawnand: cafe: fix drivers probe/remove methods
Driver should call pci_disable_device() if it returns from cafe_nand_probe() with error. Meanwhile, the driver calls pci_enable_device() in cafe_nand_probe(), but never calls pci_disable_device() during removal. Signed-off-by: Peng Wu <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions