Re: [PATCH v6 3/3] leds: Add ktd2692 flash LED driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Ingi,

On Fri, Apr 10, 2015 at 05:45:30PM +0900, Ingi Kim wrote:
...
> >> +	ret = devm_gpio_request_one(dev, led->ctrl_gpio,
> >> +					GPIOF_OPEN_SOURCE, "ctrl-gpio");
> >
> > I think you could simply use devm_gpio_get(), and start using the new API
> > instead. It'd save quite a few lines of code, too.
> >
> 
> did you mean devm_gpiod_get()
> Ok, I'll check it

Yes, that's what I meant.

-- 
Regards,

Sakari Ailus
e-mail: sakari.ailus@xxxxxx	XMPP: sailus@xxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux