Removed controller field description to prevent kernel-doc warnings

Message ID 20240303134453.5791-1-prosunofficial@gmail.com
State New
Headers
Series Removed controller field description to prevent kernel-doc warnings |

Commit Message

R SUNDAR March 3, 2024, 1:44 p.m. UTC
  /include/linux/peci.h:84: warning: Excess struct member 'controller' description in 'peci_device'

Signed-off-by: R SUNDAR <prosunofficial@gmail.com>
---
 include/linux/peci.h | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Randy Dunlap March 3, 2024, 4:36 p.m. UTC | #1
On 3/3/24 05:44, R SUNDAR wrote:
> /include/linux/peci.h:84: warning: Excess struct member 'controller' description in 'peci_device'
> 
> Signed-off-by: R SUNDAR <prosunofficial@gmail.com>

Yes, or
https://lore.kernel.org/lkml/20231223050605.13961-1-rdunlap@infradead.org/

so
Acked-by: Randy Dunlap <rdunlap@infradead.org>

> ---
>  include/linux/peci.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/linux/peci.h b/include/linux/peci.h
> index 9b3d36aff431..90e241458ef6 100644
> --- a/include/linux/peci.h
> +++ b/include/linux/peci.h
> @@ -58,7 +58,6 @@ static inline struct peci_controller *to_peci_controller(void *d)
>  /**
>   * struct peci_device - PECI device
>   * @dev: device object to register PECI device to the device model
> - * @controller: manages the bus segment hosting this PECI device
>   * @info: PECI device characteristics
>   * @info.family: device family
>   * @info.model: device model
  

Patch

diff --git a/include/linux/peci.h b/include/linux/peci.h
index 9b3d36aff431..90e241458ef6 100644
--- a/include/linux/peci.h
+++ b/include/linux/peci.h
@@ -58,7 +58,6 @@  static inline struct peci_controller *to_peci_controller(void *d)
 /**
  * struct peci_device - PECI device
  * @dev: device object to register PECI device to the device model
- * @controller: manages the bus segment hosting this PECI device
  * @info: PECI device characteristics
  * @info.family: device family
  * @info.model: device model