[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1cfd584a48e1bb453596948a0187ecf1.sboyd@kernel.org>
Date: Tue, 28 Mar 2023 09:59:53 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Devi Priya <quic_devipriy@...cinc.com>, agross@...nel.org,
andersson@...nel.org, arnd@...db.de, broonie@...nel.org,
catalin.marinas@....com, devicetree@...r.kernel.org,
dmitry.baryshkov@...aro.org, konrad.dybcio@...aro.org,
krzysztof.kozlowski+dt@...aro.org, linus.walleij@...aro.org,
linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
marcel.ziswiler@...adex.com, mturquette@...libre.com,
nfraprado@...labora.com, p.zabel@...gutronix.de,
robh+dt@...nel.org, shawnguo@...nel.org, will@...nel.org
Cc: quic_srichara@...cinc.com, quic_gokulsri@...cinc.com,
quic_sjaganat@...cinc.com, quic_kathirav@...cinc.com,
quic_arajkuma@...cinc.com, quic_anusha@...cinc.com,
quic_poovendh@...cinc.com
Subject: Re: [PATCH V10 2/4] clk: qcom: Add Global Clock Controller driver for IPQ9574
Quoting Devi Priya (2023-03-27 23:15:35)
>
>
> On 3/27/2023 10:18 PM, Stephen Boyd wrote:
> > Quoting Devi Priya (2023-03-27 06:27:16)
> >> diff --git a/drivers/clk/qcom/gcc-ipq9574.c b/drivers/clk/qcom/gcc-ipq9574.c
> >> new file mode 100644
> >> index 000000000000..b2a2d618a5ec
> >> --- /dev/null
> >> +++ b/drivers/clk/qcom/gcc-ipq9574.c
> >> @@ -0,0 +1,4248 @@
> >> +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> >> +/*
> >> + * Copyright (c) 2023 The Linux Foundation. All rights reserved.
> >> + */
> >> +
> >> +#include <linux/kernel.h>
> >> +#include <linux/err.h>
> >> +#include <linux/platform_device.h>
> >> +#include <linux/module.h>
> >> +#include <linux/of.h>
> >> +#include <linux/of_device.h>
> >
> > What is this include for?
> This include actually don't seem necessary. But, I see that of.h &
> platform_device.h are being included via of_device.h
> Would you suggest to drop of_device.h or the other two
> headers instead?
Include headers for things you use. Don't try to omit includes if you
see that a header includes other headers that you're using.
Powered by blists - more mailing lists