On Sat, 2026-11-07 at 23:02 +0000, Mauro Codella wrote:
> The DEVICE_ATTR_WO section refers to DEVICE_AATR_WO, which does not
> exist. Correct the spelling to match the macro in include/linux/device.h.

Thanks.

Acked-by: Joe Perches <[email protected]>

> 
> Signed-off-by: Mauro Codella <[email protected]>
> ---
> AI assistance: Codex identified the typo and drafted the fix and commit
> message. I reviewed the change and ran checkpatch.
> 
>  Documentation/dev-tools/checkpatch.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/dev-tools/checkpatch.rst 
> b/Documentation/dev-tools/checkpatch.rst
> index 6139a08c3..f8ab22c18 100644
> --- a/Documentation/dev-tools/checkpatch.rst
> +++ b/Documentation/dev-tools/checkpatch.rst
> @@ -389,7 +389,7 @@ API usage
>      See: 
> https://www.kernel.org/doc/html/latest/driver-api/driver-model/device.html#attributes
>  
>    **DEVICE_ATTR_WO**
> -    The DEVICE_AATR_WO(name) helper macro can be used instead of
> +    The DEVICE_ATTR_WO(name) helper macro can be used instead of
>      DEVICE_ATTR(name, 0200, NULL, name_store);
>  
>      Note that the macro automatically appends _store to the

Reply via email to