Skip to content

Commit

Permalink
input/mc13783-ts: don't use deprecated mc13783 API calls
Browse files Browse the repository at this point in the history
mc13783_ackirq is deprecated, use the drop in replacement mc13783_irq_ack.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Cc: Valentin Longchamp <valentin.longchamp@epfl.ch>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Cc: Luotao Fu <l.fu@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Uwe Kleine-König authored and Linus Torvalds committed Mar 6, 2010
1 parent 5720502 commit 2a83319
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/input/touchscreen/mc13783_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ static irqreturn_t mc13783_ts_handler(int irq, void *data)
{
struct mc13783_ts_priv *priv = data;

mc13783_ackirq(priv->mc13783, irq);
mc13783_irq_ack(priv->mc13783, irq);

/*
* Kick off reading coordinates. Note that if work happens already
Expand Down Expand Up @@ -135,7 +135,7 @@ static int mc13783_ts_open(struct input_dev *dev)

mc13783_lock(priv->mc13783);

mc13783_ackirq(priv->mc13783, MC13783_IRQ_TS);
mc13783_irq_ack(priv->mc13783, MC13783_IRQ_TS);

ret = mc13783_irq_request(priv->mc13783, MC13783_IRQ_TS,
mc13783_ts_handler, MC13783_TS_NAME, priv);
Expand Down

0 comments on commit 2a83319

Please sign in to comment.