Re: [PATCH 3/3] pch_udc: Specifies GPI port number at configuration.

From: Sergei Shtylyov
Date: Fri Feb 03 2012 - 05:51:47 EST


Hello.

On 03-02-2012 11:14, Tomoya MORINAGA wrote:

Problem:
The GPIO ports used for detecting VBUS may be different
on each platform.
This should be easily modifiable.
Solution:
In configuration, GPI port number is specified.

Isn't it better to pass this with driver's platform data.

Signed-off-by: Tomoya MORINAGA <tomoya.rohm@xxxxxxxxx>

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/