Commit 0d04d0c
gpio: thunderx: Use the default parent apis for {request,release}_resources
thunderx_gpio_irq_{request,release}_resources apis are trying to
{request,release} resources on parent interrupt. There are default
apis doing the same. Use the default parent apis instead of writing
the same code snippet.
Cc: linux-gpio@vger.kernel.org
Cc: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>1 parent 2bd1298 commit 0d04d0c
1 file changed
+4
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
367 | 366 | | |
368 | 367 | | |
369 | 368 | | |
370 | 369 | | |
371 | 370 | | |
372 | 371 | | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
378 | 375 | | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | 376 | | |
383 | 377 | | |
384 | 378 | | |
385 | 379 | | |
386 | 380 | | |
387 | 381 | | |
388 | 382 | | |
389 | | - | |
390 | 383 | | |
391 | | - | |
392 | | - | |
| 384 | + | |
393 | 385 | | |
394 | 386 | | |
395 | 387 | | |
| |||
0 commit comments