On Fri 2019-09-13 20:07:49, Daniel Mack wrote: > The driver currently ignores errors from register writes at probe time. > It will hence register an LED class device no matter whether the > pyhsical device is present or not. > > To fix this, make the device probe fail in case regmap operations > return an error. > > Signed-off-by: Daniel Mack <daniel@xxxxxxxxxx> Acked-by: Pavel Machek <pavel@xxxxxx> -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html