pm805 = devm_kzalloc(&pdev->dev,sizeof(struct pm805_priv), GFP_KERNEL);if(pm805 ==NULL)return-ENOMEM; pm805->chip = chip; pm805->regmap = chip->regmap;/* refer to drivers/mfd/88pm805.c for irq resource */irq_short1 = platform_get_irq(pdev,1);if(irq_short1 <0) dev_er...