Hi Guenter, > > + __driver.remove = NULL; \ > > Does that really do any good ? If I understand correctly, the only > impact is that the platform driver remove function will believe that > nothing needs to be done on removal. See platform_drv_remove(). This might be biased for my use case. Not calling remove will also leave the clock for that module enabled. But true, the platform device will be removed and without proper cleanup, there could be dangling pointers. In general, what do you think of this approach if we'd left out the above line? Thanks, Wolfram
Attachment:
signature.asc
Description: PGP signature