fujitsu-laptop: Drop unneeded include
Subsystems (2)
PATCH RESEND 1/1 fujitsu-laptop: Drop unneeded include
The fujitsu-laptop driver includes <linux/video_output.h> but doesn't call any of its functions. Drop the unneeded include to avoid unnecessary driver rebuilds.
---
Resending with Rafael in Cc so that he can include it in a larger clean-up patch series.
drivers/platform/x86/fujitsu-laptop.c | 1 - 1 file changed, 1 deletion(-)
drivers/platform/x86/fujitsu-laptop.c +0 -1
@@ -66,7 +66,6 @@#include <linux/backlight.h> #include <linux/input.h> #include <linux/kfifo.h> -#include <linux/video_output.h> #include <linux/platform_device.h> #include <linux/slab.h> #if defined(CONFIG_LEDS_CLASS ) || defined(CONFIG_LEDS_CLASS_MODULE )
Signature · 2 lines
Jean Delvare SUSE L3 Support
Quoted 7 lines · Jean Delvare
The fujitsu-laptop driver includes <
linux/video_output.h> but doesn't call any of its functions. Drop the unneeded include to avoid unnecessary driver rebuilds.Signed-off-by Jean Delvare <[email protected]>Acked-by Jonathan Woithe <[email protected]>Cc Matthew Garrett <[email protected]>
Well, thanks, but why didn't you send it to the same CC list as the original patch set? This doesn't make it particularly convenient to handle ...
Quoted 20 lines
---
Resending with Rafael in Cc so that he can include it in a larger clean-up patch series.drivers/platform/x86/fujitsu-laptop.c | 1 - 1 file changed, 1 deletion(-)drivers/platform/x86/fujitsu-laptop.c +0
-1@@ -66,7 +66,6 @@#include <linux/backlight.h> #include <linux/input.h> #include <linux/kfifo.h> -#include <linux/video_output.h> #include <linux/platform_device.h> #include <linux/slab.h> #if defined(CONFIG_LEDS_CLASS ) || defined(CONFIG_LEDS_CLASS_MODULE )
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.
Hi Rafael,
Quoted 11 lines · Rafael J. Wysocki
Quoted 7 lines · Jean Delvare
The fujitsu-laptop driver includes <
linux/video_output.h> but doesn't call any of its functions. Drop the unneeded include to avoid unnecessary driver rebuilds.Signed-off-by Jean Delvare <[email protected]>Acked-by Jonathan Woithe <[email protected]>Cc Matthew Garrett <[email protected]>Well, thanks, but why didn't you send it to the same CC list as the original patch set? This doesn't make it particularly convenient to handle ...
Sorry, I resent that one in a hurry and did not put enough thoughts into it, I'm afraid.
That being said, I don't think it is really a big problem. This is a minor clean up, obviously correct and needed, so nobody is going to argue against it. If you are the one applying the patch set then the only important thing is that you have this extra patch available so that you don't break the build.
If anyone else is really interested, well, I have explained the problem in the other thread so they are at least aware of it, and they can always contact me (or you) to get the missing piece. If they really care, that is, which I somehow doubt.
Thanks,
Signature · 2 lines
Jean Delvare SUSE L3 Support