From: Keunho Hwang Date: Wed, 27 Feb 2019 04:04:33 +0000 (+0900) Subject: [RAMEN9610-12620][COMMON] power_supply: update power_supply_sysfs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=63f3c07e792f965caca3748bfe89e8d606264f86;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [RAMEN9610-12620][COMMON] power_supply: update power_supply_sysfs Change-Id: I9b572678f1327cf30416ec173a6290be3960df29 Signed-off-by: Keunho Hwang --- diff --git a/drivers/power/supply/power_supply_sysfs.c b/drivers/power/supply/power_supply_sysfs.c index 03959f9e86f4..23525cd8bf2e 100644 --- a/drivers/power/supply/power_supply_sysfs.c +++ b/drivers/power/supply/power_supply_sysfs.c @@ -268,6 +268,21 @@ static struct device_attribute power_supply_attrs[] = { POWER_SUPPLY_ATTR(model_name), POWER_SUPPLY_ATTR(manufacturer), POWER_SUPPLY_ATTR(serial_number), + + POWER_SUPPLY_ATTR(vchgin), + POWER_SUPPLY_ATTR(vwcin), + POWER_SUPPLY_ATTR(vbyp), + POWER_SUPPLY_ATTR(vsys), + POWER_SUPPLY_ATTR(vbat), + POWER_SUPPLY_ATTR(vgpadc), + POWER_SUPPLY_ATTR(vcc1), + POWER_SUPPLY_ATTR(vcc2), + POWER_SUPPLY_ATTR(ichgin), + POWER_SUPPLY_ATTR(iwcin), + POWER_SUPPLY_ATTR(iotg), + POWER_SUPPLY_ATTR(itx), + POWER_SUPPLY_ATTR(co_enable), + POWER_SUPPLY_ATTR(rr_enable), POWER_SUPPLY_ATTR(usbpd_reset), };