Hi! > >+struct pwm_device *acpi_pwm_get(struct fwnode_handle *fwnode) > static? > >+{ > >+ struct fwnode_reference_args args; > >+ struct pwm_chip *chip; > >+ struct pwm_device *pwm = ERR_PTR(-ENODEV); > >+ int ret; > >+ > >+ memset(&args, 0, sizeof(args)); > > args should be zero'd out when initialized on the stack so this is > necessary. What? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature