Re: [PATCH] sysfs: Disable lockdep for driver bind/unbind files

From: Greg Kroah-Hartman
Date: Wed Dec 19 2018 - 07:49:36 EST


On Wed, Dec 19, 2018 at 01:39:09PM +0100, Daniel Vetter wrote:
> --- a/include/linux/device.h
> +++ b/include/linux/device.h
> @@ -327,6 +327,7 @@ struct driver_attribute {
> #define DRIVER_ATTR_WO(_name) \
> struct driver_attribute driver_attr_##_name = __ATTR_WO(_name)
>
> +
> extern int __must_check driver_create_file(struct device_driver *driver,
> const struct driver_attribute *attr);
> extern void driver_remove_file(struct device_driver *driver,
> --

I'll edit away this last chunk when I apply the patch :)

thanks for making the changes.

greg k-h