On Fri, Oct 10, 2014 at 05:06:28PM +0300, Tero Kristo wrote:
> - dev->platform_data = &twl_gpio_auxdata;
> + if (!strcmp("twl4030-gpio", dev_name(dev)))
> + dev->platform_data = &twl_gpio_auxdata;
> + else
> + dev->platform_data = omap_twl_match_regulator(dev);Looking at this idiom here I'd expect that we'd be adding another string comparison here?
signature.asc
Description: Digital signature
