From patchwork Sun Jan 12 07:02:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 3470921 Return-Path: X-Original-To: patchwork-linux-spi@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 6653F9F2ED for ; Sun, 12 Jan 2014 07:02:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7B27D20127 for ; Sun, 12 Jan 2014 07:02:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A9A0420122 for ; Sun, 12 Jan 2014 07:02:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751017AbaALHCn (ORCPT ); Sun, 12 Jan 2014 02:02:43 -0500 Received: from mail-pb0-f48.google.com ([209.85.160.48]:44122 "EHLO mail-pb0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750996AbaALHCm (ORCPT ); Sun, 12 Jan 2014 02:02:42 -0500 Received: by mail-pb0-f48.google.com with SMTP id up15so590933pbc.35 for ; Sat, 11 Jan 2014 23:02:42 -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=TMQ58XY4KQ190inVtx6R8zEtEMc7M+AII/5GNXhyKlE=; b=JpqaF7vxGvgvGbYil+HeTM3R6jhvP66cHWZ2xLavodx7FQq7+u1PjxF4M9NXeegDX7 2y6FWCYfkE1yRbXqZS5hvpzdEgikg0jR/YtRDAgHCPvg/wmcAU13czTGieKZy97E45RH 0H7fteNYgzo1Jxe3zhnwZT2+OcAi6fCkTYhtNepu1yt3C7TM5EpASEO+kY3YaJt3mtZu CJKETpxtk7ak3UUxD17sufI8Li97MvtdAP5LNHdNu+SI9GIbdzy8LofIKwZtAlJEzWSd 62wTnUbnWwCS6gyDnt1LWHtNjLlvmIRfY3Z8ZBxRu/4mQwaWMF1FEsE8ou+LWf6D0wfX xAXA== X-Gm-Message-State: ALoCoQkN1LdQj8qRKEo3yfNkSTUptBZvjt5ENnA67SWg7UUvXh5ntDc09i9Fz8jaRHjT27gSi1RG X-Received: by 10.66.142.170 with SMTP id rx10mr22564735pab.117.1389510162015; Sat, 11 Jan 2014 23:02:42 -0800 (PST) Received: from [192.168.0.102] (218-164-139-128.dynamic.hinet.net. [218.164.139.128]) by mx.google.com with ESMTPSA id i10sm37060747pat.11.2014.01.11.23.02.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 11 Jan 2014 23:02:41 -0800 (PST) Message-ID: <1389510152.13361.4.camel@phoenix> Subject: [RFC][PATCH] spi: ti-qspi: Fixup driver name From: Axel Lin To: Mark Brown Cc: Sourav Poddar , linux-spi@vger.kernel.org Date: Sun, 12 Jan 2014 15:02:32 +0800 X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 The driver name in current code looks like a compatible string which is not the naming convention for platform drivers. Fix it and also add modalias since this driver can be built as a module. Signed-off-by: Axel Lin Acked-by: Sourav Poddar --- drivers/spi/spi-ti-qspi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c index 2a1ab49..3d09265 100644 --- a/drivers/spi/spi-ti-qspi.c +++ b/drivers/spi/spi-ti-qspi.c @@ -567,7 +567,7 @@ static struct platform_driver ti_qspi_driver = { .probe = ti_qspi_probe, .remove = ti_qspi_remove, .driver = { - .name = "ti,dra7xxx-qspi", + .name = "ti-qspi", .owner = THIS_MODULE, .pm = &ti_qspi_pm_ops, .of_match_table = ti_qspi_match, @@ -579,3 +579,4 @@ module_platform_driver(ti_qspi_driver); MODULE_AUTHOR("Sourav Poddar "); MODULE_LICENSE("GPL v2"); MODULE_DESCRIPTION("TI QSPI controller driver"); +MODULE_ALIAS("platform:ti-qspi");