diff options
| author | Thierry Reding <[email protected]> | 2019-08-28 08:34:10 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-08-28 20:52:30 +0000 |
| commit | 8973ea47901c81a1912bd05f1577bed9b5b52506 (patch) | |
| tree | 34d0e1f2aae4bbe29058afc9ee966ac00f30a821 /drivers/hwmon/pwm-fan.c | |
| parent | Revert "driver core: Add support for linking devices during device addition" (diff) | |
| download | kernel-8973ea47901c81a1912bd05f1577bed9b5b52506.tar.gz kernel-8973ea47901c81a1912bd05f1577bed9b5b52506.zip | |
driver core: platform: Introduce platform_get_irq_optional()
In some cases the interrupt line of a device is optional. Introduce a
new platform_get_irq_optional() that works much like platform_get_irq()
but does not output an error on failure to find the interrupt.
Signed-off-by: Thierry Reding <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions
