On Thu, Oct 13, 2022 at 2:19 AM Sasha Levin sashal@kernel.org wrote:
From: Dmitry Torokhov dmitry.torokhov@gmail.com
[ Upstream commit a2b5e207cade33b4d2dfd920f783f13b1f173e78 ]
Instead of having a string of "if" statements let's put all quirks into an array and iterate over them.
Signed-off-by: Dmitry Torokhov dmitry.torokhov@gmail.com Reviewed-by: Linus Walleij linus.walleij@linaro.org Signed-off-by: Bartosz Golaszewski brgl@bgdev.pl Signed-off-by: Sasha Levin sashal@kernel.org
Sasha,
This is not a fix, it's code refactoring. Definitely not stable material.
Bartosz