Re: [PATCH v4] i2c: gpio: Fix an error check in i2c_gpio_fault_injector_init()
From: Wolfram Sang
Date: Mon Aug 14 2023 - 12:00:41 EST
> - if (!i2c_gpio_debug_dir)
> + if (IS_ERR(i2c_gpio_debug_dir))
> return;
AFAIK, the trend is to remove error checking from debugfs calls. It is
debug only anyhow. No need to bail out. But please double check.
Attachment:
signature.asc
Description: PGP signature