]> 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)
commit6b0199ade3c331f559d73e0e74bf82343f6950c8
tree01a8204caf58c38a21784775969309a3850948a7
parent676db43170479ecd96299b9ccc71c0d14809b87d
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