Re: [PATCH v1 1/1] mfd: intel_quark_i2c_gpio: Don't play dirty trick with const

From: Linus Torvalds
Date: Thu Mar 25 2021 - 15:29:58 EST


On Thu, Mar 25, 2021 at 12:23 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> Replace cell parameter by bar and assign local pointer res to the
> respective non-const place holder in the intel_quark_i2c_setup()
> and intel_quark_gpio_setup().

Thanks. I assume/hope this got tested on hardware too? It looks
ObviouslyCorrect(tm), but that's never stopped bugs before ;)

Linus