Re: [PATCH 2/2] pinctrl: sunxi: add support of R40 to A10 pinctrl driver

From: Icenowy Zheng
Date: Fri Jul 07 2017 - 05:21:50 EST




ä 2017å7æ7æ GMT+08:00 äå5:18:38, Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx> åå:
>On Fri, Jul 07, 2017 at 07:13:30AM +0800, Icenowy Zheng wrote:
>>
>>
>> ä 2017å7æ7æ GMT+08:00 äå4:50:30, Maxime Ripard
><maxime.ripard@xxxxxxxxxxxxxxxxxx> åå:
>> >On Thu, Jul 06, 2017 at 10:28:22PM +0800, Icenowy Zheng wrote:
>> >> SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 0),
>> >> SUNXI_FUNCTION(0x0, "gpio_in"),
>> >> SUNXI_FUNCTION(0x1, "gpio_out"),
>> >> - SUNXI_FUNCTION(0x2, "i2c0")), /* SCK */
>> >> + SUNXI_FUNCTION(0x2, "i2c0"), /* SCK */
>> >> + SUNXI_FUNCTION_VARIANT(0x3,
>> >> + "pll_lock_dbg",
>> >> + PINCTRL_SUN8I_R40)),
>> >
>> >You have a number of lines where the wrapping is not consistent with
>> >the rest, such as this one, but also...
>>
>> I think this one is because of extraordinary function name.
>
>Since you don't have a comment, I guess that's not really that bad.

Yes. I tried it and it can fit the space saved by having no comment.

>
>Maxime