Commit 7b59bdb
gpiolib: Add gpiochip_set_data() helper
There are too many 'data' parameters here and there.
For the better maintenance keep access GPIO device data
via getter and setter.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>1 parent 8deb779 commit 7b59bdb
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
683 | 688 | | |
684 | 689 | | |
685 | 690 | | |
| |||
722 | 727 | | |
723 | 728 | | |
724 | 729 | | |
| 730 | + | |
725 | 731 | | |
| 732 | + | |
726 | 733 | | |
727 | 734 | | |
728 | 735 | | |
| |||
789 | 796 | | |
790 | 797 | | |
791 | 798 | | |
792 | | - | |
793 | 799 | | |
794 | 800 | | |
795 | 801 | | |
| |||
977 | 983 | | |
978 | 984 | | |
979 | 985 | | |
980 | | - | |
| 986 | + | |
981 | 987 | | |
982 | | - | |
| 988 | + | |
983 | 989 | | |
984 | 990 | | |
985 | 991 | | |
| |||
0 commit comments