Re: [PATCH v1 07/10] misc: eeprom_93xx46: Convert to use kstrtox()

From: Linus Walleij
Date: Mon May 27 2024 - 09:26:59 EST


On Wed, May 8, 2024 at 8:49 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> sscanf() is a heavy one and moreover requires additional boundary checks.
> Convert driver to use kstrtobool() in eeprom_93xx46_store_erase().
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij