From: Ben Dooks <ben-linux@fluff.org>
To: gregkh@suse.de, linux-kernel@vger.kernel.org
Subject: driver creating directories under a device entry
Date: Tue, 13 Jan 2009 23:27:34 +0000 [thread overview]
Message-ID: <20090113232734.GS12431@fluff.org.uk> (raw)
I have a driver which uses sysfs_create_dir() to create a set of
directories under the device sysfs directory to bundle up attributes
that are added common for each sub-part of the device.
Firstly, is this considered a problem
Secondly, sysfs_create_dir() is not exported so the driver cannot
currently be built as a module. Would a patch to export sysfs_create_dir
be acceptable?
--
Ben (ben@fluff.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
next reply other threads:[~2009-01-13 23:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-13 23:27 Ben Dooks [this message]
2009-01-13 23:36 ` driver creating directories under a device entry Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090113232734.GS12431@fluff.org.uk \
--to=ben-linux@fluff.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox