mbox series

[0/3] gpio: sim: driver improvements

Message ID 20240610140548.35358-1-brgl@bgdev.pl
Headers show
Series gpio: sim: driver improvements | expand

Message

Bartosz Golaszewski June 10, 2024, 2:05 p.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

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(-)

Comments

Andy Shevchenko June 10, 2024, 4:26 p.m. UTC | #1
Mon, Jun 10, 2024 at 04:05:45PM +0200, Bartosz Golaszewski kirjoitti:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> 
> Andy had some suggestions in his review of the gpio-virtuser that also
> apply to gpio-sim so let's use them.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Bartosz Golaszewski June 11, 2024, 7:39 p.m. UTC | #2
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Mon, 10 Jun 2024 16:05:45 +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> 
> 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()
> 
> [...]

Applied, thanks!

[1/3] gpio: sim: use device_match_name() instead of strcmp(dev_name(...
      commit: 8a05de23adabc4d982dfdeabc184a267f7a50491
[2/3] gpio: sim: drop kernel.h include
      commit: b5f5cbee764e2faffe5241445830a5e43084f3a0
[3/3] gpio: sim: use devm_mutex_init()
      commit: 413427153921ac8263d3a516bfbdaa42fa058085

Best regards,