From patchwork Fri Nov 9 15:27:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 1721021 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 9D3613FCF7 for ; Fri, 9 Nov 2012 15:28:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754344Ab2KIP2d (ORCPT ); Fri, 9 Nov 2012 10:28:33 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:44457 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754289Ab2KIP2Q (ORCPT ); Fri, 9 Nov 2012 10:28:16 -0500 Received: by mail-pa0-f46.google.com with SMTP id hz1so2846642pad.19 for ; Fri, 09 Nov 2012 07:28:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references:x-gm-message-state; bh=jnhz71KOZN0DF5N5rAV1sE7hLzF80AG5kw3fWIb5eAE=; b=N6GIIMuA++s83fxhiLcVkFFOv49QL8ADVMNv1awyW56RbaiJYGkaNYfCi4WPf8W6v0 0KaOUQ44mscgj1bTwo0gwPC7VQSlTF34Ye2fdS3CM/7D9Y3gnjJhvyr/8K2TjxNfQX3+ GEV3rTYXGD2LvIyGH+rQcPrfymrVndMd+eqgK3CwHZsqSPotZWpzf/f/Q19Yg99TNpT3 +tA8a2S7PmIb79fh5QUjnCreKaEuJDEYnK0tVBy96R88rw5WtbyNfKqj5eToDrYfvncX qFPHIhxxTRE8cbk1PjkIhJ87qyFEGot+p6YlsoH8Z/DNhuc42Iq0js5Ms903ZlmE9P5e uGJg== Received: by 10.68.225.68 with SMTP id ri4mr34099756pbc.115.1352474895696; Fri, 09 Nov 2012 07:28:15 -0800 (PST) Received: from localhost ([122.167.207.71]) by mx.google.com with ESMTPS id v9sm18106670paz.6.2012.11.09.07.28.12 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Nov 2012 07:28:15 -0800 (PST) From: Viresh Kumar To: dmitry.torokhov@gmail.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, spear-devel@list.st.com, Vipul Kumar Samar Subject: [PATCH 3/3] input:stmpe-ts:Initialize the phys field for input device Date: Fri, 9 Nov 2012 20:57:50 +0530 Message-Id: <94587f7ddc4cf5503a1824df4c1fb53e553881b7.1352474824.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: <3d6f34ca5960203a5efb761f4d56b4e10ee24827.1352474824.git.viresh.kumar@linaro.org> References: <3d6f34ca5960203a5efb761f4d56b4e10ee24827.1352474824.git.viresh.kumar@linaro.org> In-Reply-To: <3d6f34ca5960203a5efb761f4d56b4e10ee24827.1352474824.git.viresh.kumar@linaro.org> References: <3d6f34ca5960203a5efb761f4d56b4e10ee24827.1352474824.git.viresh.kumar@linaro.org> X-Gm-Message-State: ALoCoQkKF+2nUSAUOTPIerQ9+it/LH43BOBs+F3t/FXD9EmkUh7Uw6lVTIxI17vzl4c/nbJP0B4E Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org From: Vipul Kumar Samar Signed-off-by: Vipul Kumar Samar --- drivers/input/touchscreen/stmpe-ts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/stmpe-ts.c b/drivers/input/touchscreen/stmpe-ts.c index 66b932e..9896095 100644 --- a/drivers/input/touchscreen/stmpe-ts.c +++ b/drivers/input/touchscreen/stmpe-ts.c @@ -317,6 +317,7 @@ static int __devinit stmpe_input_probe(struct platform_device *pdev) return ret; idev->name = STMPE_TS_NAME; + idev->phys = STMPE_TS_NAME"/input0"; idev->id.bustype = BUS_I2C; idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); idev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH);