media: raspberrypi: rp1-cfe: Remove (explicitly) unused header
Subsystems (3)
PATCH 1/1 media: raspberrypi: rp1-cfe: Remove (explicitly) unused header
The fwnode.h is not supposed to be used by the drivers as it has the definitions for the core parts for different device property provider implementations. Drop it.
Note, that fwnode API for drivers is provided in property.h which is included here.
--- drivers/media/platform/raspberrypi/rp1-cfe/cfe.c | 1 - 1 file changed, 1 deletion(-)
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c +0 -1
@@ -12,7 +12,6 @@#include <linux/device.h> #include <linux/dma-mapping.h> #include <linux/err.h> -#include <linux/fwnode.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/io.h>
Signature · 1 line
2.47.2
Hi,
Quoted 17 lines · Andy Shevchenko
The
fwnode.his not supposed to be used by the drivers as it has the definitions for the core parts for different device property provider implementations. Drop it.Note, that fwnode API for drivers is provided in
property.hwhich is included here.Signed-off-by Andy Shevchenko <[email protected]>--- drivers/media/platform/raspberrypi/rp1-cfe/cfe.c | 1 - 1 file changed, 1 deletion(-)drivers/media/platform/raspberrypi/rp1-cfe/cfe.c +0
-0
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c line 17
Quoted 7 lines
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c +0
-1@@ -12,7 +12,6 @@#include <linux/device.h> #include <linux/dma-mapping.h> #include <linux/err.h> -#include <linux/fwnode.h> #include <linux/init.h> #include <linux/interrupt.h> #include <linux/io.h>
Tomi
Quoted 6 lines · Andy Shevchenko
The
fwnode.his not supposed to be used by the drivers as it has the definitions for the core parts for different device property provider implementations. Drop it.Note, that fwnode API for drivers is provided in
property.hwhich is included here.
Any comments? Can it be applied?
Signature · 2 lines
With Best Regards, Andy Shevchenko