From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757459AbbGQL4O (ORCPT ); Fri, 17 Jul 2015 07:56:14 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:55538 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750834AbbGQL4N (ORCPT ); Fri, 17 Jul 2015 07:56:13 -0400 Date: Fri, 17 Jul 2015 12:56:06 +0100 From: Mark Brown To: Krzysztof Kozlowski Cc: linux-kernel@vger.kernel.org Message-ID: <20150717115606.GM11162@sirena.org.uk> References: <20150717094304.GF11162@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="53h0S5Wmpfquw9J4" Content-Disposition: inline In-Reply-To: X-Cookie: Stay together, drag each other down. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: Applied "regulator: 88pm800: Remove owner" to the regulator tree X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --53h0S5Wmpfquw9J4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 17, 2015 at 06:58:32PM +0900, Krzysztof Kozlowski wrote: > 2015-07-17 18:43 GMT+09:00 Mark Brown : > > The driver core apparently now does this and we shouldn't be doing it > > statically so we get all this code churn. I'm not sure I understand the > > win TBH. > If you are referring to my recent patchset it was about platform and > i2c drivers where appropriate register functions do it (e.g. > i2c_register_driver()). But regulator_register passes owner from > regulator_desc: It's not just your patch set, it's the latest thing in code churn. > rdev->owner = regulator_desc->owner; > and then calls device_register(). I think the owner for regulator > device won't be set. Oh, right yes. Picked the wrong bit of code when merging a code motion patch. --53h0S5Wmpfquw9J4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVqO1VAAoJECTWi3JdVIfQiu8H/jhGj3r3T78DPPixu6KihHhy i1+pq/tbrW2R31eYotNPeAXonO9vY5K+HQsTWmLDfha7n+NeA6/bGbKbeoHqPzgK aHPodEjVEUEZozre48B03insx2miTz5zjQr4ByFMgjPsATIXYGEF7vR2SnJ3l1Pu X4ch8CpGHrUGOnNaePtAozWPuehdmuc9VowuoO9OXx06/bE0t6/v+hsQy9nOtX/f g4fzQMXFazLTv2xW3ONZbOHJzktDfNQ+PBbsou0vXETFYNBMWPxrFXUkOBUGXYUN PzmhkqWZi8R0fXn+NLXBj4rX/krQHTeDiUWHI91UQMjMNgXRAvqCXpjnCjZmorI= =+9ap -----END PGP SIGNATURE----- --53h0S5Wmpfquw9J4--