[PATCH v6 3/7] ARM: imx6q: disable usb charger detector

Otavio Salvador otavio at ossystems.com.br
Wed Jul 11 22:47:13 EDT 2012


On Wed, Jul 11, 2012 at 11:06 PM, Shawn Guo <shawn.guo at linaro.org> wrote:
...
>> +     np = of_find_node_by_path("/soc/aips-bus at 02000000/anatop at 020c8000");
>
> I would suggest use of_find_compatible_node to save the open-coding of
> such path.
...

Nice catch!

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



More information about the linux-arm-kernel mailing list