j
k
j a
j l
if (!i2c_gpio_debug_dir) if (IS_ERR(i2c_gpio_debug_dir)) return;
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.
Attachments:
Back to the thread
Back to the list