From patchwork Tue Oct 14 21:44:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benson Leung X-Patchwork-Id: 5082541 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 54FEF9F30B for ; Tue, 14 Oct 2014 21:47:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 96021201F7 for ; Tue, 14 Oct 2014 21:47:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B72DA201CE for ; Tue, 14 Oct 2014 21:46:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755517AbaJNVq6 (ORCPT ); Tue, 14 Oct 2014 17:46:58 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:56892 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754562AbaJNVq5 (ORCPT ); Tue, 14 Oct 2014 17:46:57 -0400 Received: by mail-pa0-f42.google.com with SMTP id bj1so8652437pad.15 for ; Tue, 14 Oct 2014 14:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=ET63lnEwjXAp0NHs8bvu5mvG6woG4/sUlHFpB9txmQQ=; b=m98O4ZPfg662Jirp5oht/bKvCdT83yl/0V+caGvRevEHKnFZCe+h/ZYW2vDheshbsP oB9ffv5c5YxoahP9u+vTxVB43M3iH4tvKp/YQngiYUsxpqRkfYKeus9xZbv3sTMwPebE h9jCFg2uU4iiVBRlOikalwTTgEPVqtNhxRJ8c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ET63lnEwjXAp0NHs8bvu5mvG6woG4/sUlHFpB9txmQQ=; b=BN/ZGkQS5eiKCsGJwfP8pa8cbwh3Gthbsrw5Wp3VYzwQy+S+OcdOdoJ/de8fg76y3G f6GgKtQsCPYue7sZcMhoeFtjF4zar/SZtMrQV+zahKDJ/+DTgdJL54lN4hyKin0dNyGK REpfSk9JndFZZ/MnqP9ZdHhwpYLAXJUM16GYj7AuTPN1+SNioLG2nI1VRUOwlkr9N2XX MnooRGyh3dRhrWYt+DTTZ30Sr+et039/6KRau4XJVIJNf2PdwtyN7x4fpf16SWBq1U/3 kZ5dSjrzUH8O0553eendekGB4g0N6YMvSYFX10yeW5ZxyAmQ2qsh1B/H6l/VqfFIg+S1 XzDg== X-Gm-Message-State: ALoCoQmdJnIw48x3WU7+4W4ZL/82KAgSqCQCAwv7rPCq1lqVx+CMtpfeCgZL34cNtUYjhnC3VoDM X-Received: by 10.68.220.133 with SMTP id pw5mr7458566pbc.129.1413323217476; Tue, 14 Oct 2014 14:46:57 -0700 (PDT) Received: from laughingman.mtv.corp.google.com (laughingman.mtv.corp.google.com [172.22.65.61]) by mx.google.com with ESMTPSA id m2sm15164944pdl.14.2014.10.14.14.46.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Oct 2014 14:46:56 -0700 (PDT) From: Benson Leung To: jkosina@suse.cz, benjamin.tissoires@redhat.com, aduggan@synaptics.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Cc: olofj@chromium.org, bleung@chromium.org, satoshi.noguchi@jp.synaptics.com, dmitry.torokhov@gmail.com Subject: [PATCH] HID: i2c-hid: Add hid-over-i2c name to i2c id table. Date: Tue, 14 Oct 2014 14:44:01 -0700 Message-Id: <1413323041-19468-1-git-send-email-bleung@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP When using the device tree binding of compatible = "hid-over-i2c" the i2c id table also needs to have that name in order to auto load this driver. Signed-off-by: Benson Leung --- drivers/hid/i2c-hid/i2c-hid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c index 747d544..1a7605f 100644 --- a/drivers/hid/i2c-hid/i2c-hid.c +++ b/drivers/hid/i2c-hid/i2c-hid.c @@ -1123,6 +1123,7 @@ static const struct dev_pm_ops i2c_hid_pm = { static const struct i2c_device_id i2c_hid_id_table[] = { { "hid", 0 }, + { "hid-over-i2c", 0 }, { }, }; MODULE_DEVICE_TABLE(i2c, i2c_hid_id_table);