summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-31 12:33:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-31 16:13:35 +0300
commit7d90e81a2d5edbd04037100bdd54d955bdd9b0d0 (patch)
tree893ca890f9b4dbe697809a6f31bfbddcadfe3fd4 /drivers/gpio
parent6332a6ced62ac0c9ad7617be34aa2ee4543a52ab (diff)
downloadlinux-7d90e81a2d5edbd04037100bdd54d955bdd9b0d0.tar.xz
driver core: core: move to use class_to_subsys()
There are a number of places in core.c that need access to the private subsystem structure of struct class, so move them to use class_to_subsys() instead of accessing it directly. This requires exporting class_to_subsys() out of class.c, but keeping it local to the driver core. Reviewed-by: Rafael J. Wysocki <rafael@kernel.org> Link: https://lore.kernel.org/r/20230331093318.82288-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions