staging: hikey9xx: hi6421-spmi-pmic.c: removing
PATCH 1/1 staging: hikey9xx: hi6421-spmi-pmic.c: removing
drivers/staging/hikey9xx/hi6421-spmi-pmic.c:51: WARNING: please, no space before tabsdrivers/staging/hikey9xx/hi6421-spmi-pmic.c:52: WARNING: please, no space before tabsdrivers/staging/hikey9xx/hi6421-spmi-pmic.c:53: WARNING: please, no space before tabsdrivers/staging/hikey9xx/hi6421-spmi-pmic.c:69: WARNING: please, no space before tabsdrivers/staging/hikey9xx/hi6421-spmi-pmic.c:180: CHECK: Alignment should match open parenthesis drivers/staging/hikey9xx/hi6421-spmi-pmic.c:238: CHECK: Alignment should match open parenthesis drivers/staging/hikey9xx/hi6421-spmi-pmic.c:281: WARNING: DT compatible string "hisilicon,hi6421-spmi" appears un-documented -- check ./Documentation/devicetree/bindings/
total: 0 errors, 5 warnings, 2 checks, 297 lines checked
--- drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/hikey9xx/hi6421-spmi-pmic.c +6 -6
@@ -48,9 +48,9 @@ enum hi6421_spmi_pmic_irq_list {/* * The IRQs are mapped as: * -* ====================== ============= ============ ===== -* IRQ MASK REGISTER IRQ REGISTER BIT -* ====================== ============= ============ ===== +* ====================== ============= ============ ===== +* IRQ MASK REGISTER IRQ REGISTER BIT +* ====================== ============= ============ ===== * OTMP 0x0202 0x212 bit 0 * VBUS_CONNECT 0x0202 0x212 bit 1 * VBUS_DISCONNECT 0x0202 0x212 bit 2
@@ -66,7 +66,7 @@ enum hi6421_spmi_pmic_irq_list {* SIM0_HPD_F 0x0203 0x213 bit 3 * SIM1_HPD_R 0x0203 0x213 bit 4 * SIM1_HPD_F 0x0203 0x213 bit 5 -* ====================== ============= ============ ===== +* ====================== ============= ============ ===== */ #define SOC_PMIC_IRQ_MASK_0_ADDR 0x0202#define SOC_PMIC_IRQ0_ADDR 0x0212
@@ -177,7 +177,7 @@ static void hi6421_spmi_pmic_irq_init(struct hi6421_spmi_pmic *ddata)for (i =0 ; i <HISI_IRQ_ARRAY ; i++)regmap_write (ddata->regmap,SOC_PMIC_IRQ_MASK_0_ADDR + i, -HISI_MASK ); +HISI_MASK );for (i =0 ; i <HISI_IRQ_ARRAY ; i++) {regmap_read (ddata->regmap,SOC_PMIC_IRQ0_ADDR + i, &pending);
@@ -235,7 +235,7 @@ static int hi6421_spmi_pmic_probe(struct spmi_device *pdev)return -ENOMEM ; ddata->domain =irq_domain_add_simple (np,HISI_IRQ_NUM ,0 , - &hi6421_spmi_domain_ops, ddata); + &hi6421_spmi_domain_ops, ddata);if (!ddata->domain) {dev_err (dev,"Failed to create IRQ domain\n" );return -ENODEV ;
Signature · 1 line
2.25.1