]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drivers: ipmi: Drop device reference
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Mon, 3 Jun 2019 15:49:28 +0000 (16:49 +0100)
committerCorey Minyard <cminyard@mvista.com>
Mon, 3 Jun 2019 20:02:11 +0000 (15:02 -0500)
commit3559c3270aa3b8ac9afa3eac25f0c4e5bfb701b4
tree909d99d66d6539fe697a8df43bb368db7fd960d9
parent2cd0e54489e65b8e22124a8b053aff40815487f7
drivers: ipmi: Drop device reference

Drop the reference to a device found via bus_find_device()

Cc: Corey Minyard <minyard@acm.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Message-Id: <1559577023-558-3-git-send-email-suzuki.poulose@arm.com>
[Moved the put_device() to after the platform_device_unregister(), for
 better style.]
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_si_platform.c