Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753672AbbGJGiP (ORCPT ); Fri, 10 Jul 2015 02:38:15 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:60237 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753602AbbGJGiB (ORCPT ); Fri, 10 Jul 2015 02:38:01 -0400 X-AuditID: cbfec7f4-f79c56d0000012ee-4e-559f6847ba52 From: Krzysztof Kozlowski To: Baptiste Reynal , Alex Williamson , kvm@vger.kernel.org (open list:VFIO PLATFORM DRIVER), linux-kernel@vger.kernel.org (open list) Cc: Krzysztof Kozlowski Subject: [PATCH] vfio: Drop owner assignment from platform_driver Date: Fri, 10 Jul 2015 15:37:59 +0900 Message-id: <1436510279-5682-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrNJMWRmVeSWpSXmKPExsVy+t/xy7oeGfNDDTpyLb7972Gz+LN3JrPF 6xeGFnOmFlpc3jWHzYHV4/2+q2wefVtWMXp83iTnceXoGaYAligum5TUnMyy1CJ9uwSujAV9 PWwFi9gq9n6dwNbAuJi1i5GTQ0LAROLl1CdQtpjEhXvr2boYuTiEBJYySuxd38cO4fxnlNi5 bxcjSBWbgLHE5uVLwKpEBE4ySvyftoMZJMEsYCjx890fdhBbWMBR4uWDDywgNouAqsThR5fB angF3CQeXF4CtU5O4uSxyawTGLkXMDKsYhRNLU0uKE5KzzXUK07MLS7NS9dLzs/dxAgJgi87 GBcfszrEKMDBqMTDG8A2P1SINbGsuDL3EKMEB7OSCC+/BFCINyWxsiq1KD++qDQntfgQozQH i5I479xd70OEBNITS1KzU1MLUotgskwcnFINjPx93GemRGo7rWsumDyfYVKWhdDBh4GeBlOv nKwTVXbM5mh+W9b0aYK5lItk8M4HM74acD266/LIkvdNoSbL0flXsiazy1fWLjsg+ktNpoSr kOmc65L/NV6r0g9fL2Az4lt0U/qdeJWT7j+Xyt+p1eIb2f5wLXSd1PfwG9vmBWUBXy+Vtz1f osRSnJFoqMVcVJwIANoeAsr+AQAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1019 Lines: 33 platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/vfio/platform/vfio_platform.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/vfio/platform/vfio_platform.c b/drivers/vfio/platform/vfio_platform.c index cef645c83996..09a8caa4eda9 100644 --- a/drivers/vfio/platform/vfio_platform.c +++ b/drivers/vfio/platform/vfio_platform.c @@ -91,7 +91,6 @@ static struct platform_driver vfio_platform_driver = { .remove = vfio_platform_remove, .driver = { .name = "vfio-platform", - .owner = THIS_MODULE, }, }; -- 1.9.1 -- 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/