Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] media: rc: nuvoton: mark wakeup-related resources

When requesting resources use different names for the normal and
the wakeup part. This makes it easier to interpret the output
of e.g. /proc/interrupts and /proc/ioports.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

authored by

Heiner Kallweit and committed by
Mauro Carvalho Chehab
33cb5401 91be260f

+2 -2
+2 -2
drivers/media/rc/nuvoton-cir.c
··· 1079 1079 goto exit_unregister_device; 1080 1080 1081 1081 if (!devm_request_region(&pdev->dev, nvt->cir_wake_addr, 1082 - CIR_IOREG_LENGTH, NVT_DRIVER_NAME)) 1082 + CIR_IOREG_LENGTH, NVT_DRIVER_NAME "-wake")) 1083 1083 goto exit_unregister_device; 1084 1084 1085 1085 if (devm_request_irq(&pdev->dev, nvt->cir_wake_irq, 1086 1086 nvt_cir_wake_isr, IRQF_SHARED, 1087 - NVT_DRIVER_NAME, (void *)nvt)) 1087 + NVT_DRIVER_NAME "-wake", (void *)nvt)) 1088 1088 goto exit_unregister_device; 1089 1089 1090 1090 device_init_wakeup(&pdev->dev, true);