mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] docs: checkpatch: Fix DEVICE_ATTR_WO macro name
@ 2026-11-07 23:02 Mauro Codella
  2026-11-08  2:18 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Mauro Codella @ 2026-11-07 23:02 UTC (permalink / raw)
  To: dwaipayanray1, lukas.bulwahn
  Cc: joe, corbet, skhan, rdunlap, workflows, linux-doc, linux-kernel

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.

Signed-off-by: Mauro Codella <mauro.codella@pm.me>
---
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
-- 
2.56.0



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-08  2:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-07 23:02 [PATCH] docs: checkpatch: Fix DEVICE_ATTR_WO macro name Mauro Codella
2026-11-08  2:18 ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®