From patchwork Sat Jan 31 04:38:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 5753901 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BA124BF440 for ; Sat, 31 Jan 2015 04:38:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E95332021F for ; Sat, 31 Jan 2015 04:38:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 75C0F2021B for ; Sat, 31 Jan 2015 04:38:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754059AbbAaEiI (ORCPT ); Fri, 30 Jan 2015 23:38:08 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:64054 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752430AbbAaEiH (ORCPT ); Fri, 30 Jan 2015 23:38:07 -0500 Received: by mail-pa0-f41.google.com with SMTP id kq14so60143237pab.0 for ; Fri, 30 Jan 2015 20:38:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=ULrpk+ymuKKzPCAhxZZkDw+oyossURruLe65PwhM58U=; b=C51oS/3IYXAfRHKmcTm5uGVYXvnopYQyo6x7nZSTTq/jhptLqvUNdWA6pz8k70janQ f0zrh3OHakz+MouF6kAsjX5RJ86iHVu1Xkk7zJy1yg7iunrI0GJMmpVlCk+kiG0daY3d wD06bANCFhQDjhS1eRKTFfLck4YyqWsWMa0RysYpac/MW7hNc/Z59g/zA9ThTObIS/gZ BrGov6WLwTbcsnClb1yGfQnSyEaVQouVwDKiU+mbJKPBR9TG69/ceCROca/R/uG/pVN1 /4wXblJ51I67E+/QaNmjXvGukf19nf5uTTPCglD3HEnzJ7MLWqQwdq0hXkpHW4glIEJ5 Gghw== X-Gm-Message-State: ALoCoQk6FmzIpDFgwWLmZrL8LRHUx/3PP9AtBEbrkqLJ/wxBcE59Q4ECEdjRjZEBteCV7MeJcO9w X-Received: by 10.68.211.7 with SMTP id my7mr13658436pbc.115.1422679087126; Fri, 30 Jan 2015 20:38:07 -0800 (PST) Received: from [192.168.0.102] (218-164-140-82.dynamic.hinet.net. [218.164.140.82]) by mx.google.com with ESMTPSA id mt4sm12254665pdb.55.2015.01.30.20.38.05 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Fri, 30 Jan 2015 20:38:06 -0800 (PST) Message-ID: <1422679082.8722.1.camel@phoenix> Subject: [PATCH] Input: cap11xx - Remove wrong and unneeded cap11xx modalias From: Axel Lin To: Dmitry Torokhov Cc: Matt Ranostay , Daniel Mack , "linux-input@vger.kernel.org" Date: Sat, 31 Jan 2015 12:38:02 +0800 X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 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.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 This is a I2C driver, so it's wrong to use platform prefix for the modalias. We have all needed i2c aliases coming form MODULE_DEVICE_TABLE, so remove the wrong and unneeded cap11xx modalias. Signed-off-by: Axel Lin Acked-by: Daniel Mack Reviewed-by: Matt Ranostay --- drivers/input/keyboard/cap11xx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/keyboard/cap11xx.c b/drivers/input/keyboard/cap11xx.c index 4f59f0b..f07461a 100644 --- a/drivers/input/keyboard/cap11xx.c +++ b/drivers/input/keyboard/cap11xx.c @@ -370,7 +370,6 @@ static struct i2c_driver cap11xx_i2c_driver = { module_i2c_driver(cap11xx_i2c_driver); -MODULE_ALIAS("platform:cap11xx"); MODULE_DESCRIPTION("Microchip CAP11XX driver"); MODULE_AUTHOR("Daniel Mack "); MODULE_LICENSE("GPL v2");