From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Gregoire Gentil <gregoire@gentil.com>
Cc: linux-omap@vger.kernel.org, linux-input@vger.kernel.org,
Tony Lindgren <tony@atomide.com>, Tim Yamin <plasmaroo@gmail.com>
Subject: Re: [PATCH 5/8] AI TB: HID file for Always Innovating OMAP3-based Touch Book keyboard
Date: Wed, 18 Nov 2009 22:30:41 -0800 [thread overview]
Message-ID: <20091119063040.GA3010@core.coreip.homeip.net> (raw)
In-Reply-To: <1258599474.8001.36.camel@gregoire-laptop>
Hi Gregoire,
On Wed, Nov 18, 2009 at 06:57:54PM -0800, Gregoire Gentil wrote:
> +
> +int touchbook_create_sysfs(struct hid_device *hdev)
> +{
> + int i;
> + int r;
> +
> + for (i = 0; i < ARRAY_SIZE(touchbook_hid_attrs); i++) {
> + r = device_create_file(&hdev->dev,
> + &touchbook_hid_attrs[i]);
> +
> + if (r) {
> + dev_err(&hdev->dev, "failed to create sysfs file\n");
> + return r;
> + }
> + }
> +
You just reimplemented sysfs attribute group.
--
Dmitry
next prev parent reply other threads:[~2009-11-19 6:30 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-14 19:47 [PATCH 3/3] htcherald: Add default kernel configuration for Herald Cory Maccarrone
2009-11-16 4:30 ` [PATCH 0/5] AI TB: Always Innovating OMAP3-based Touch Book Gregoire Gentil
2009-11-16 4:30 ` [PATCH 1/5] AI TB: Defconfig file of the " Gregoire Gentil
2009-11-16 4:30 ` [PATCH 2/5] AI TB: Board " Gregoire Gentil
2009-11-16 21:18 ` Tony Lindgren
2009-11-16 4:30 ` [PATCH 3/5] AI TB: Driver for the Freescale MMA7455L accelerometer Gregoire Gentil
2009-11-16 4:30 ` [PATCH 4/5] AI TB: Driver for the Always Innovating Touch Book keyboard Gregoire Gentil
2009-11-16 4:30 ` [PATCH 5/5] AI TB: Additional modifications for the Always Innovating OMAP3-based Touch Book, including video and sound Gregoire Gentil
2009-11-19 2:57 ` [PATCH 2/8] AI TB: Board file of Always Innovating OMAP3-based Touch Book Gregoire Gentil
2009-11-19 2:57 ` [PATCH 4/8] AI TB: Driver for Always Innovating OMAP3-based Touch Book keyboard Gregoire Gentil
2009-11-19 2:57 ` [PATCH 5/8] AI TB: HID file " Gregoire Gentil
2009-11-19 6:30 ` Dmitry Torokhov [this message]
2009-11-19 2:57 ` [PATCH 6/8] AI TB: Audio driver of Always Innovating OMAP3-based Touch Book Gregoire Gentil
2009-11-23 11:33 ` [alsa-devel] " Mark Brown
2009-11-19 2:58 ` [PATCH 7/8] AI TB: Video " Gregoire Gentil
2009-11-19 2:58 ` [PATCH 8/8] AI TB: Additional files for " Gregoire Gentil
2009-11-16 20:39 ` [APPLIED] [PATCH 3/3] htcherald: Add default kernel configuration for Herald Tony Lindgren
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=20091119063040.GA3010@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=gregoire@gentil.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=plasmaroo@gmail.com \
--cc=tony@atomide.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.