No description
Find a file
Greg Kroah-Hartman 7d90e81a2d 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>
2023-03-31 15:13:35 +02:00
arch driver core: class: mark the struct class for sysfs callbacks as constant 2023-03-29 07:54:58 +02:00
block
certs
crypto
Documentation docs: driver-api: firmware_loader: fix missing argument in usage example 2023-03-29 16:09:39 +02:00
drivers driver core: core: move to use class_to_subsys() 2023-03-31 15:13:35 +02:00
fs kernfs: change kernfs_rename_lock into a read-write lock. 2023-03-29 12:23:45 +02:00
include driver core: class: mark the struct class for sysfs callbacks as constant 2023-03-29 07:54:58 +02:00
init
io_uring
ipc
kernel kernel/ksysfs.c: use sysfs_emit for sysfs show handlers 2023-03-24 17:09:14 +01:00
lib
LICENSES
mm
net
rust
samples
scripts
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS device property: Add headers to the Driver Core entry in MAINTAINERS 2023-03-27 18:08:51 +02:00
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.