commit | 5e196d34a776420278e4117b4742cd9d3f2350ed | [log] [tgz] |
---|---|---|
author | Alexander Gordeev <lasaine@lvk.cs.msu.su> | Wed Jan 12 17:00:51 2011 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 13 08:03:19 2011 -0800 |
tree | 86187af6a600876506261758a00c7c42e6037283 | |
parent | 6f4229b51106cbc859e9d8209b22c8a2ec749e64 [diff] |
pps: access pps device by direct pointer Using device index as a pointer needs some unnecessary work to be done every time the pointer is needed (in irq handler for example). Using a direct pointer is much more easy (and safe as well). Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su> Acked-by: Rodolfo Giometti <giometti@linux.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>