From: Tony Lindgren <tony@atomide.com>
To: Dirk Behme <dirk.behme@googlemail.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] ARM: OMAP: Workqueue changes for tahvo-usb
Date: Tue, 9 Jan 2007 15:22:41 -0800 [thread overview]
Message-ID: <20070109232241.GK7384@atomide.com> (raw)
In-Reply-To: <459D2D30.7040206@googlemail.com>
* Dirk Behme <dirk.behme@googlemail.com> [070104 08:38]:
>
> ARM: OMAP: Workqueue changes for tahvo-usb.c
>
> Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
>
> Index: linux-osk/drivers/cbus/tahvo-usb.c
> ===================================================================
> --- linux-osk.orig/drivers/cbus/tahvo-usb.c
> +++ linux-osk/drivers/cbus/tahvo-usb.c
> @@ -535,9 +535,9 @@ static int tahvo_usb_set_peripheral(stru
> return 0;
> }
>
> -static void tahvo_usb_irq_work(void *data)
> +static void tahvo_usb_irq_work(struct work_struct *work)
> {
> - struct tahvo_usb *tu = (struct tahvo_usb *)data;
> + struct tahvo_usb *tu = container_of(work, struct tahvo_usb, irq_work);
>
> mutex_lock(&tu->serialize);
> check_vbus_state(tu);
> @@ -631,7 +631,7 @@ static int tahvo_usb_probe(struct device
> #endif
> #endif
>
> - INIT_WORK(&tu->irq_work, tahvo_usb_irq_work, tu);
> + INIT_WORK(&tu->irq_work, tahvo_usb_irq_work);
> mutex_init(&tu->serialize);
>
> /* Set initial state, so that we generate kevents only on
>
Pushing today.
Tony
prev parent reply other threads:[~2007-01-09 23:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-04 16:37 [PATCH] ARM: OMAP: Workqueue changes for tahvo-usb Dirk Behme
2007-01-09 23:22 ` Tony Lindgren [this message]
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=20070109232241.GK7384@atomide.com \
--to=tony@atomide.com \
--cc=dirk.behme@googlemail.com \
--cc=linux-omap-open-source@linux.omap.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox