Remove some unnecessary includes and get rid of the abusive of_platform in favor of the correct headers. Reported-by: Rob Herring <robh+dt@xxxxxxxxxx> Reported-by: Georgi Djakov <djakov@xxxxxxxxxx> Fixes: 2eab57b131bd ("interconnect: qcom: Add SM6115 interconnect provider driver") Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx> --- drivers/interconnect/qcom/sm6115.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/interconnect/qcom/sm6115.c b/drivers/interconnect/qcom/sm6115.c index c49a83c87739..88b67634aa2f 100644 --- a/drivers/interconnect/qcom/sm6115.c +++ b/drivers/interconnect/qcom/sm6115.c @@ -6,16 +6,12 @@ */ #include <dt-bindings/interconnect/qcom,sm6115.h> -#include <linux/clk.h> #include <linux/device.h> #include <linux/interconnect-provider.h> -#include <linux/io.h> +#include <linux/mod_devicetable.h> #include <linux/module.h> -#include <linux/of_device.h> -#include <linux/of_platform.h> #include <linux/platform_device.h> #include <linux/regmap.h> -#include <linux/slab.h> #include "icc-rpm.h" --- base-commit: 11651f8cb2e88372d4ed523d909514dc9a613ea3 change-id: 20231214-topic-6115iccfix-6f4519909be1 Best regards, -- Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>