Thread (60 messages) 60 messages, 12 authors, 2012-11-14
STALE4962d REVIEWED: 1 (0M)
Revisions (3)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v2 current

[PATCH v2 1/7] i2c: omap: no need to access platform_device

From: Santosh Shilimkar <hidden>
Date: 2012-10-25 12:41:51
Also in: linux-i2c, linux-omap

On Thursday 25 October 2012 05:55 PM, Felipe Balbi wrote:
PM callbacks pass our device pointer as argument
and we don't need to access the platform_device
just to dereference that down to dev->drvdata.

instead, just use dev_get_drvdata() directly.

Signed-off-by: Felipe Balbi <redacted>
---
Acked-by: Santosh Shilimkar <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help