From patchwork Tue Jun 29 12:49:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hennerich, Michael" X-Patchwork-Id: 108619 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5TDMtaf013846 for ; Tue, 29 Jun 2010 13:23:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752229Ab0F2MzO (ORCPT ); Tue, 29 Jun 2010 08:55:14 -0400 Received: from nwd2mail11.analog.com ([137.71.25.57]:17627 "EHLO nwd2mail11.analog.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752075Ab0F2MzN (ORCPT ); Tue, 29 Jun 2010 08:55:13 -0400 X-IronPort-AV: E=Sophos;i="4.53,505,1272859200"; d="scan'208";a="18625287" Received: from nwd2hubcas1.ad.analog.com ([10.64.73.29]) by nwd2mail11.analog.com with ESMTP; 29 Jun 2010 08:55:12 -0400 Received: from zeus.spd.analog.com (10.64.82.11) by NWD2HUBCAS1.ad.analog.com (10.64.73.29) with Microsoft SMTP Server id 8.1.358.0; Tue, 29 Jun 2010 08:55:12 -0400 Received: from [10.44.2.88] ([10.44.2.88]) by zeus.spd.analog.com (8.14.1/8.14.1) with ESMTP id o5TCtBOr010028; Tue, 29 Jun 2010 08:55:11 -0400 (EDT) Subject: [PATCH 2/2] Implement EV_KEY:BTN_TOUCH reporting on AD7879 touch screen driver From: Michael Hennerich Reply-To: michael.hennerich@analog.com To: dmitry.torokhov@gmail.com CC: linux-input@vger.kernel.org, uclinux-dist-devel@blackfin.uclinux.org, vapier@gentoo.org In-Reply-To: <1277815615.11338.5.camel@mhenneri-D02.ad.analog.com> References: <1277815615.11338.5.camel@mhenneri-D02.ad.analog.com> Organization: Analog Devices Inc. Date: Tue, 29 Jun 2010 14:49:57 +0200 Message-ID: <1277815797.11338.8.camel@mhenneri-D02.ad.analog.com> MIME-Version: 1.0 X-Mailer: Evolution 2.24.1.1 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 29 Jun 2010 13:23:48 +0000 (UTC) diff --git a/drivers/input/touchscreen/ad7879.c b/drivers/input/touchscreen/ad7879.c index 1ac0713..05e8574 100644 --- a/drivers/input/touchscreen/ad7879.c +++ b/drivers/input/touchscreen/ad7879.c @@ -146,7 +146,7 @@ static int ad7879_write(struct ad7879 *ts, u8 reg, u16 val) return ts->bops->write(ts->dev, reg, val); } -static void ad7879_report(struct ad7879 *ts) +static int ad7879_report(struct ad7879 *ts) { struct input_dev *input_dev = ts->input;