LP8788_MAX_CHG_IRQS
struct lp8788_chg_irq irqs[LP8788_MAX_CHG_IRQS];
if (pchg->num_irqs > LP8788_MAX_CHG_IRQS) {