On Thu, Jan 9, 2025 at 10:12 PM Prabhakar <prabhakar.csengg@xxxxxxxxx> wrote: > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> > > Refactor the IRQ handling in riic_i2c_probe by introducing a local variable > `irq` to store IRQ numbers instead of assigning them to `ret`. This change > improves code readability and clarity. > > Suggested-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx> > --- > Note, this patch is part of series [0], as requested by Andi, sending > only patch 1/9 from series [0]. > > [0] https://lore.kernel.org/all/20250103091900.428729-1-prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx/ > > v4->v5 > - validate return value of platform_get_irq() Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds