RE: [PATCH] mfd: axp20x: Add a cell for the power button part of the,axp288 PMICs

From: Yang, Fei
Date: Tue Oct 13 2015 - 14:33:30 EST


>> static struct resource axp288_fuel_gauge_resources[] = {
>> {
>> .start = AXP288_IRQ_QWBTU,
>> @@ -572,6 +587,11 @@ static struct mfd_cell axp288_cells[] = {
>> .resources = axp288_fuel_gauge_resources,
>> },
>> {
>> + .name = "axp20x-pek", /* axp20x-pek works for AXP288 as well */
>
>Doesn't this change insinuate that?
>
>If axp20x-pek didn't work for AXP288 you wouldn't have put it in this structure right?
>

Are you suggesting to remove the comment? Just want to make sure I understand you correctly.

>> + .num_resources = ARRAY_SIZE(axp288_power_button_resources),
>> + .resources = axp288_power_button_resources,
>> + },
>> + {
>> .name = "axp288_pmic_acpi",
>> },
>> };

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead Linaro.org â Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
N‹§²æ¸›yú²X¬¶ÇvØ–)Þ{.nlj·¥Š{±‘êX§¶›¡Ü}©ž²ÆzÚj:+v‰¨¾«‘êZ+€Êzf£¢·hšˆ§~†­†Ûÿû®w¥¢¸?™¨è&¢)ßf”ùy§m…á«a¶Úÿ 0¶ìå