Commit deb631c
gpio: aggregator: Replace isrange() by using get_options()
We already have a nice helper called get_options() which can be used
to validate the input format. Replace isrange() by using it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>1 parent 0ea0908 commit deb631c
1 file changed
Lines changed: 3 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | 65 | | |
94 | 66 | | |
95 | 67 | | |
| |||
112 | 84 | | |
113 | 85 | | |
114 | 86 | | |
| 87 | + | |
115 | 88 | | |
116 | 89 | | |
117 | 90 | | |
118 | | - | |
119 | 91 | | |
120 | 92 | | |
121 | 93 | | |
| |||
130 | 102 | | |
131 | 103 | | |
132 | 104 | | |
133 | | - | |
| 105 | + | |
| 106 | + | |
134 | 107 | | |
135 | 108 | | |
136 | 109 | | |
| |||
0 commit comments