From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> Andy had some suggestions in his review of the gpio-virtuser that also apply to gpio-sim so let's use them. Bartosz Golaszewski (3): gpio: sim: use device_match_name() instead of strcmp(dev_name(... gpio: sim: drop kernel.h include gpio: sim: use devm_mutex_init() drivers/gpio/gpio-sim.c | 35 +++++++++++++---------------------- 1 file changed, 13 insertions(+), 22 deletions(-) -- 2.40.1