From patchwork Thu Jan 28 11:06:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 574652 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 12408140BCE for ; Thu, 28 Jan 2016 22:08:04 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934802AbcA1LIC (ORCPT ); Thu, 28 Jan 2016 06:08:02 -0500 Received: from mga11.intel.com ([192.55.52.93]:39866 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932841AbcA1LIA (ORCPT ); Thu, 28 Jan 2016 06:08:00 -0500 Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP; 28 Jan 2016 03:07:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,358,1449561600"; d="scan'208";a="37684539" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga004.fm.intel.com with ESMTP; 28 Jan 2016 03:07:55 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1aOkQY-0009gT-Kw; Thu, 28 Jan 2016 19:07:50 +0800 Date: Thu, 28 Jan 2016 19:06:39 +0800 From: kbuild test robot To: Peter Hung Cc: kbuild-all@01.org, linus.walleij@linaro.org, gnurou@gmail.com, gregkh@linuxfoundation.org, andriy.shevchenko@linux.intel.com, paul.gortmaker@windriver.com, lee.jones@linaro.org, jslaby@suse.com, peter_hong@fintek.com.tw, heikki.krogerus@linux.intel.com, peter@hurleysoftware.com, soeren.grunewald@desy.de, udknight@gmail.com, adam.lee@canonical.com, arnd@arndb.de, manabian@gmail.com, scottwood@freescale.com, yamada.masahiro@socionext.com, paul.burton@imgtec.com, mans@mansr.com, matthias.bgg@gmail.com, ralf@linux-mips.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, tom_tsai@fintek.com.tw, Peter Hung Subject: [PATCH] 8250: 8250_f81504: fix platform_no_drv_owner.cocci warnings Message-ID: <20160128110639.GA61515@cairo> References: <201601281904.MbBUDU3t%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1453972838-30268-4-git-send-email-hpeter+linux_kernel@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org drivers/tty/serial/8250/8250_f81504.c:233:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Peter Hung Signed-off-by: Fengguang Wu --- 8250_f81504.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/tty/serial/8250/8250_f81504.c +++ b/drivers/tty/serial/8250/8250_f81504.c @@ -230,7 +230,6 @@ static SIMPLE_DEV_PM_OPS(f81504_serial_p static struct platform_driver f81504_serial_driver = { .driver = { .name = F81504_SERIAL_NAME, - .owner = THIS_MODULE, .pm = &f81504_serial_pm_ops, }, .probe = f81504_serial_probe,