Commit e82bbd6
Bartosz Golaszewski
gpio: cdev: open-code to_gpio_chardev_data()
This function is a wrapper around container_of(). It's used only once and
we will have a second notifier soon, so instead of having two flavors of
this helper, let's just open-code where needed.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Kent Gibson <warthog618@gmail.com>1 parent 17a7ca3 commit e82bbd6
1 file changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2491 | 2491 | | |
2492 | 2492 | | |
2493 | 2493 | | |
2494 | | - | |
2495 | | - | |
2496 | | - | |
2497 | | - | |
2498 | | - | |
2499 | | - | |
2500 | 2494 | | |
2501 | 2495 | | |
2502 | 2496 | | |
2503 | | - | |
| 2497 | + | |
| 2498 | + | |
2504 | 2499 | | |
2505 | 2500 | | |
2506 | 2501 | | |
| |||
0 commit comments