Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754057AbbB0Fjt (ORCPT ); Fri, 27 Feb 2015 00:39:49 -0500 Received: from bhuna.collabora.co.uk ([93.93.135.160]:55750 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750754AbbB0FjC (ORCPT ); Fri, 27 Feb 2015 00:39:02 -0500 From: Javier Martinez Canillas To: Olof Johansson Cc: Doug Anderson , Bill Richardson , Simon Glass , Gwendal Grignou , Fengguang Wu , linux-kernel@vger.kernel.org, Javier Martinez Canillas Subject: [PATCH 3/3] platform/chrome: cros_ec_lpc - Drop owner assignment Date: Fri, 27 Feb 2015 06:37:50 +0100 Message-Id: <1425015470-4846-4-git-send-email-javier.martinez@collabora.co.uk> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1425015470-4846-1-git-send-email-javier.martinez@collabora.co.uk> References: <1425015470-4846-1-git-send-email-javier.martinez@collabora.co.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 972 Lines: 28 Platform drivers don't need to set an owner since it will be populated by the driver core. Signed-off-by: Javier Martinez Canillas --- drivers/platform/chrome/cros_ec_lpc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/chrome/cros_ec_lpc.c b/drivers/platform/chrome/cros_ec_lpc.c index f00bf4d246a1..8f9ac4d7bbd0 100644 --- a/drivers/platform/chrome/cros_ec_lpc.c +++ b/drivers/platform/chrome/cros_ec_lpc.c @@ -270,7 +270,6 @@ MODULE_DEVICE_TABLE(dmi, cros_ec_lpc_dmi_table); static struct platform_driver cros_ec_lpc_driver = { .driver = { .name = DRV_NAME, - .owner = THIS_MODULE, }, .probe = cros_ec_lpc_probe, .remove = cros_ec_lpc_remove, -- 2.1.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/