Re: [PATCH v2] Do not disable driver and bus shutdown hook when class shutdown hook is set.

From: Greg Kroah-Hartman
Date: Sat Aug 19 2017 - 13:03:42 EST


On Sat, Aug 19, 2017 at 03:03:53PM +0300, Jarkko Sakkinen wrote:
> On Fri, Aug 11, 2017 at 03:44:43PM +0200, Michal Suchanek wrote:
> > As seen from the implementation of the single class shutdown hook this
> > is not very sound design.
> >
> > Rename the class shutdown hook to shutdown_pre to make it clear it runs
> > before the driver shutdown hook.
> >
> > Signed-off-by: Michal Suchanek <msuchanek@xxxxxxx>
>
> I already gave this reviewed-by but cannot apply it because there's no
> ack from device maintainers yet.

I'm on vacation at the moment and will look at this when I get back in a
week, please give me a chance.

thanks,

greg k-h