[PATCH 2/2] ARM: BCM2835: Move the restart/power_off handling to the WDT driver.

Arnd Bergmann arnd at arndb.de
Mon Apr 27 06:32:08 PDT 2015


On Monday 27 April 2015 06:28:46 Guenter Roeck wrote:
> >
> 
> The pointer to the power-off handler is removed in the device remove callback,
> and thus won't be called after the device is unbound.
> 
> Ultimately this is similar the the current code, which assumes that the
> call to of_find_device_by_node(np) never fails.
> 

Ok, I missed that part. Yes, that works just as well.

	Arnd



More information about the linux-rpi-kernel mailing list