[PATCH] bus: ti-sysc: Remove excess struct member 'disable_on_idle' description

Dhruva Gole posted 1 patch 1 year, 4 months ago
drivers/bus/ti-sysc.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] bus: ti-sysc: Remove excess struct member 'disable_on_idle' description
Posted by Dhruva Gole 1 year, 4 months ago
When built with W=1, the driver throws the following warning:

../drivers/bus/ti-sysc.c:169: warning: Excess struct member
'disable_on_idle' description in 'sysc'

Fix it by removing the excess description.

Signed-off-by: Dhruva Gole <d-gole@ti.com>
---
 drivers/bus/ti-sysc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c
index 2b59ef61dda2..772de1d68f36 100644
--- a/drivers/bus/ti-sysc.c
+++ b/drivers/bus/ti-sysc.c
@@ -126,7 +126,6 @@ static const char * const clock_names[SYSC_MAX_CLOCKS] = {
  * @enabled: sysc runtime enabled status
  * @needs_resume: runtime resume needed on resume from suspend
  * @child_needs_resume: runtime resume needed for child on resume from suspend
- * @disable_on_idle: status flag used for disabling modules with resets
  * @idle_work: work structure used to perform delayed idle on a module
  * @pre_reset_quirk: module specific pre-reset quirk
  * @post_reset_quirk: module specific post-reset quirk

base-commit: d6dbc9f56c3a70e915625b6f1887882c23dc5c91
-- 
2.34.1
Re: [PATCH] bus: ti-sysc: Remove excess struct member 'disable_on_idle' description
Posted by Kevin Hilman 1 year, 4 months ago
On Mon, 05 Aug 2024 15:41:18 +0530, Dhruva Gole wrote:
> When built with W=1, the driver throws the following warning:
> 
> ../drivers/bus/ti-sysc.c:169: warning: Excess struct member
> 'disable_on_idle' description in 'sysc'
> 
> Fix it by removing the excess description.
> 
> [...]

Applied, thanks!

[1/1] bus: ti-sysc: Remove excess struct member 'disable_on_idle' description
      commit: a80a3d92dc600fed760edb8a633ea80712faaf98

Best regards,
-- 
Kevin Hilman <khilman@baylibre.com>
Re: [PATCH] bus: ti-sysc: Remove excess struct member 'disable_on_idle' description
Posted by Roger Quadros 1 year, 4 months ago

On 05/08/2024 13:11, Dhruva Gole wrote:
> When built with W=1, the driver throws the following warning:
> 
> ../drivers/bus/ti-sysc.c:169: warning: Excess struct member
> 'disable_on_idle' description in 'sysc'
> 
> Fix it by removing the excess description.
> 
> Signed-off-by: Dhruva Gole <d-gole@ti.com>

Reviewed-by: Roger Quadros <rogerq@kernel.org>