summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorRodríguez Barbarin, José Javier <josejavier.rodriguez@duagon.com>2023-10-20 15:44:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-22 00:03:47 +0300
commit28cbfe09ff20964d293cd7af10d2ec0782cf86cb (patch)
treefd470e5548793c5abfa3baaeb27bfbbcfddf8fda /Kconfig
parent0720219f4d34a88a9badb4de70cfad7585687d48 (diff)
downloadlinux-28cbfe09ff20964d293cd7af10d2ec0782cf86cb.tar.xz
mcb: Use the actual bus passed to init and release functions
The functions mcb_bus_add_devices() and mcb_devices_unregister() take a mcb_bus as argument that is never being used. This implies that there is only one bus. Do not ignore mcb_bus parameter and get the actual bus_type from the device related to this mcb_bus. Co-developed-by: Jorge Sanjuan Garcia <jorge.sanjuangarcia@duagon.com> Signed-off-by: Jorge Sanjuan Garcia <jorge.sanjuangarcia@duagon.com> Signed-off-by: Jose Javier Rodriguez Barbarin <JoseJavier.Rodriguez@duagon.com> Link: https://lore.kernel.org/r/20231020124324.54692-2-JoseJavier.Rodriguez@duagon.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions