diff options
author | Uwe Kleine-König <[email protected]> | 2019-10-09 11:37:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-10-11 08:37:16 +0200 |
commit | ec4e29068839e00ff99ae94ccbb46123f0a0ba9d (patch) | |
tree | 7d6279f54f193f969f536c15c5ec042ffb60b786 /drivers/base/firmware_loader/main.c | |
parent | c31e73121f4c1ec45a3e523ac6ce3ce6dafdcec1 (diff) |
driver core: simplify definitions of platform_get_irq*
platform_get_irq_optional is just a wrapper for __platform_get_irq. So
rename __platform_get_irq to platform_get_irq_optional and drop
platform_get_irq_optional's previous implementation. This way there is
one function and one indirection less without loss of functionality.
Signed-off-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Rafael J. Wysocki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/firmware_loader/main.c')
0 files changed, 0 insertions, 0 deletions