From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH 3/6] mfd: add bcm59056 pmu driver Date: Tue, 4 Feb 2014 15:20:56 +0000 Message-ID: <20140204152056.GB3154@lee--X1> References: <1391516352-32359-1-git-send-email-mporter@linaro.org> <1391516352-32359-4-git-send-email-mporter@linaro.org> <20140204132951.GE13529@lee--X1> <20140204143119.GA4627@beef> <20140204144731.GA3154@lee--X1> <20140204150156.GC4627@beef> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <20140204150156.GC4627@beef> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Matt Porter Cc: Wolfram Sang , Tim Kryger , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Samuel Ortiz , Liam Girdwood , Mark Brown , Christian Daudt , Devicetree List , Linux I2C List , Linux ARM Kernel List , Linux Kernel Mailing List List-Id: linux-i2c@vger.kernel.org > > ... then you'll still need this. >=20 > Yes, I was far too vague..I'm going to stop explicitly populating the > data field. >=20 > static const struct of_device_id bcm59056_of_match[] =3D { > { .compatible =3D "brcm,bcm59056"}, > { } > }; +1 > > And I don't think you can drop this, as the I2C subsystem still > > insists on it. >=20 > Agreed. I'm just dropping explicit population of the driver_data fiel= d > here. >=20 > static const struct i2c_device_id bcm59056_i2c_id[] =3D { > { "bcm59056" }, > { } > }; +1 > > I think you need to keep this to supply the silly I2C ID table. > >=20 > > I would just omit the '.data =3D (void *) VERSION' from the > > of_match_table until you require it.=20 >=20 > Well, it's not even necessary for I2C ID table. the I2C subsystem is > happy with just a matching entry on the i2c_device_id name field and > NULL driver_data. palmas is implemented in this manner. Guess what? +1 :) --=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe devicetree" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html