[PATCH v2 06/16] driver core: make struct device_type.devnode() take a const *

Alexander Shishkin alexander.shishkin at linux.intel.com
Sat Jan 14 00:33:16 AEDT 2023


Greg Kroah-Hartman <gregkh at linuxfoundation.org> writes:

> The devnode() callback in struct device_type should not be modifying the
> device that is passed into it, so mark it as a const * and propagate the
> function signature changes out into all relevant subsystems that use
> this callback.

For the intel-th bit:
Acked-by: Alexander Shishkin <alexander.shishkin at linux.intel.com>

Thanks,
--
Alex


More information about the linux-fsi mailing list