Commit be1f605
gpio: No NULL owner
commit 7d18f0a upstream.
Sometimes a GPIO is fetched with NULL as parent device, and
that is just fine. So under these circumstances, avoid using
dev_name() to provide a name for the GPIO line.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Daniel Rosenberg <drosen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 1c4eb2a commit be1f605
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3204 | 3204 | | |
3205 | 3205 | | |
3206 | 3206 | | |
| 3207 | + | |
| 3208 | + | |
3207 | 3209 | | |
3208 | 3210 | | |
3209 | 3211 | | |
| |||
3232 | 3234 | | |
3233 | 3235 | | |
3234 | 3236 | | |
3235 | | - | |
3236 | | - | |
| 3237 | + | |
| 3238 | + | |
| 3239 | + | |
| 3240 | + | |
| 3241 | + | |
3237 | 3242 | | |
3238 | 3243 | | |
3239 | 3244 | | |
| |||
0 commit comments