public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <paul.mundt@nokia.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] ARM: OMAP: gpio-switch and retu-rtc kobject_uevent() fixes.
Date: Mon, 23 Jan 2006 16:13:24 +0200	[thread overview]
Message-ID: <20060123141324.GA25124@nokia.com> (raw)

This updates gpio-switch and retu-rtc for the kobject_uevent() API
changes.

Signed-off-by: Paul Mundt <paul.mundt@nokia.com>

---

 arch/arm/plat-omap/gpio-switch.c |    6 ++----
 drivers/cbus/retu-rtc.c          |    3 +--
 2 files changed, 3 insertions(+), 6 deletions(-)

b0f545efd87d78689e3ea5c4d95ed40c1f8e3df0
diff --git a/arch/arm/plat-omap/gpio-switch.c b/arch/arm/plat-omap/gpio-switch.c
index 1e9025d..cbb1efb 100644
--- a/arch/arm/plat-omap/gpio-switch.c
+++ b/arch/arm/plat-omap/gpio-switch.c
@@ -129,11 +129,9 @@ static void gpio_sw_handler(void *data)
 		return;
 
 	if (sw->type == OMAP_GPIO_SWITCH_TYPE_CONNECTION)
-		kobject_uevent(&sw->pdev.dev.kobj, KOBJ_CHANGE,
-			       &dev_attr_connection_switch.attr);
+		kobject_uevent(&sw->pdev.dev.kobj, KOBJ_CHANGE);
 	else
-		kobject_uevent(&sw->pdev.dev.kobj, KOBJ_CHANGE,
-			       &dev_attr_cover_switch.attr);
+		kobject_uevent(&sw->pdev.dev.kobj, KOBJ_CHANGE);
 	sw->state = state;
 	if (omap_get_gpio_datain(sw->gpio))
 		set_irq_type(OMAP_GPIO_IRQ(sw->gpio), IRQT_FALLING);
diff --git a/drivers/cbus/retu-rtc.c b/drivers/cbus/retu-rtc.c
index e823d7e..6471e7e 100644
--- a/drivers/cbus/retu-rtc.c
+++ b/drivers/cbus/retu-rtc.c
@@ -315,8 +315,7 @@ static void retu_rtca_disable(void)
 static void retu_rtca_expired(void *data)
 {
 	retu_rtca_disable();
-	kobject_uevent(&retu_rtc_driver.kobj, KOBJ_CHANGE,
-		       &dev_attr_alarm_expired.attr);
+	kobject_uevent(&retu_rtc_driver.kobj, KOBJ_CHANGE);
 }
 
 DECLARE_WORK(retu_rtca_work, retu_rtca_expired, NULL);

                 reply	other threads:[~2006-01-23 14:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20060123141324.GA25124@nokia.com \
    --to=paul.mundt@nokia.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