]> git.baikalelectronics.ru Git - kernel.git/commit
ipmi: kcs_bmc: don't change device name
authorBenjamin Fair <benjaminfair@google.com>
Fri, 6 Jul 2018 18:16:03 +0000 (11:16 -0700)
committerCorey Minyard <cminyard@mvista.com>
Thu, 30 Aug 2018 19:55:18 +0000 (14:55 -0500)
commitb84753a53de6940be5bb6503483f4e2cd90c7098
tree01a8204caf58c38a21784775969309a3850948a7
parent749c0264b77880a2b6a1fc49c568feba8b77f991
ipmi: kcs_bmc: don't change device name

kcs_bmc_alloc(...) calls dev_set_name(...) which is incorrect as most
bus driver frameworks, platform_driver in particular, assume that they
are able to set the device name themselves.

Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/kcs_bmc.c