mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.12-rc4 3/15] Documentation: update device attribute callbacks
@ 2005-05-17 10:40 Yani Ioannou
  0 siblings, 0 replies; only message in thread
From: Yani Ioannou @ 2005-05-17 10:40 UTC (permalink / raw)
  To: Greg KH, linux-kernel, lm-sensors

[-- Attachment #1: Type: text/plain, Size: 309 bytes --]

The following 11 patches update all the device_attribute callback
functions in the kernel to reflect the new function signatures. The
patches were mainly automatically generated with scripts nearly
identical to the previously submitted ones.

Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>

---

[-- Attachment #2: patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-update.diff-Documentation.diff.diffstat.txt --]
[-- Type: text/plain, Size: 72 bytes --]

 sysfs.txt |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)




[-- Attachment #3: patch-linux-2.6.12-rc4-sysfsdyncallback-deviceattr-update.diff-Documentation.diff --]
[-- Type: text/x-patch, Size: 751 bytes --]

diff -uprN -X dontdiff linux-2.6.12-rc4-sysfsdyncallback-deviceattr/Documentation/filesystems/sysfs.txt linux-2.6.12-rc4-sysfsdyncallback-deviceattr-update/Documentation/filesystems/sysfs.txt
--- linux-2.6.12-rc4-sysfsdyncallback-deviceattr/Documentation/filesystems/sysfs.txt	2005-05-16 20:36:09.000000000 -0400
+++ linux-2.6.12-rc4-sysfsdyncallback-deviceattr-update/Documentation/filesystems/sysfs.txt	2005-05-16 23:45:52.000000000 -0400
@@ -214,7 +214,7 @@ Other notes:
 
 A very simple (and naive) implementation of a device attribute is:
 
-static ssize_t show_name(struct device * dev, char * buf)
+static ssize_t show_name(struct device * dev, struct device_attribute *attr, char * buf)
 {
         return sprintf(buf,"%s\n",dev->name);
 }




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-17 10:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-17 10:40 [PATCH 2.6.12-rc4 3/15] Documentation: update device attribute callbacks Yani Ioannou

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®