[PATCH 3/6] mfd: add bcm59056 pmu driver

From
Mark Brown <broonie@kernel.org>
Date
2014-02-04 17:00:13
Also in
linux-devicetree, linux-i2c, lkml
Reply to
Matt Porter, 2014-02-04
On Tue, Feb 04, 2014 at 09:31:19AM -0500, Matt Porter wrote:
On Tue, Feb 04, 2014 at 01:29:51PM +0000, Lee Jones wrote:
quoted
quoted
+static struct i2c_driver bcm59056_i2c_driver = {
+	.driver = {
+		   .name = "bcm59056",
+		   .owner = THIS_MODULE,
+		   .of_match_table = of_match_ptr(bcm59056_of_match),
quoted
No need to use of_match_ptr() here.
Will remove.
What using of_match_ptr() should do is allow the compiler to figure out
that the table isn't used when DT is disabled and discard it without
ifdefs.  Not sure if that actually works yet but that's the idea.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140204/867f1536/attachment.sig>
Thread (27 messages) 27 messages, 5 authors, last reply 2014-02-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help