Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753493AbbGJGhj (ORCPT ); Fri, 10 Jul 2015 02:37:39 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:62081 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753238AbbGJGhc (ORCPT ); Fri, 10 Jul 2015 02:37:32 -0400 X-AuditID: cbfec7f5-f794b6d000001495-69-559f682a9b26 From: Krzysztof Kozlowski To: Tomi Valkeinen , Jean-Christophe Plagniol-Villard , linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] Drop owner assignment from i2c_driver (and platform left-overs) Date: Fri, 10 Jul 2015 15:37:28 +0900 Message-id: <1436510250-5633-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrEJMWRmVeSWpSXmKPExsVy+t/xa7paGfNDDd49MbR4/cLQ4kTfB1aL y7vmsFnMXtLPYrHu4Qsmi/Xzb7E5sHm8unCHxaNvyypGj+M3tjN5fN4kF8ASxWWTkpqTWZZa pG+XwJWx/t551oK7rBXrb79lamA8wNLFyMkhIWAi8e3dDWYIW0ziwr31bF2MXBxCAksZJV7/ mM0M4fxnlLjZ8Y4VpIpNwFhi8/IlYFUiAgcZJTYdWckGkmAWMJT4+e4PO4gtLBAgce7gMrA4 i4CqxOmbZxhBbF4BN4lz0x9ArZaTOHlsMusERu4FjAyrGEVTS5MLipPSc430ihNzi0vz0vWS 83M3MUJC4usOxqXHrA4xCnAwKvHwBrDNDxViTSwrrsw9xCjBwawkwssvARTiTUmsrEotyo8v Ks1JLT7EKM3BoiTOO3PX+xAhgfTEktTs1NSC1CKYLBMHp1QD44pX/3JeOj711OJmX6A1wd24 vvnyxrleDXP9l/VsPCzj593z2OO5hLqi17RafVPB5IfXltUKyWQlOp/xiPlTviFuovPKhV6d +/9u6058dI5hcV642U03czbhiVM5NHSk/zhqfNwx9eD/uY+yvWv9Der+bHBdMu/O8//i5yMO ljcHJfBYZs53VGIpzkg01GIuKk4EAKdP+NkFAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 949 Lines: 34 Hi, The i2c drivers also do not have to set 'owner' field because i2c_register_driver() will do it instead. 'owner' is removed from i2c drivers, which I was able to compile with allyesconfig (arm, arm64, i386, x86_64, ppc64). Only compile-tested. The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html Best regards, Krzysztof Krzysztof Kozlowski (2): video: fbdev: Drop owner assignment from i2c_driver video: fbdev: Drop owner assignment from platform_driver drivers/video/fbdev/omap2/displays-new/encoder-opa362.c | 1 - drivers/video/fbdev/ssd1307fb.c | 1 - 2 files changed, 2 deletions(-) -- 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/