commit | 5f003feba2a8761d2ee7b367df5a0fe6b729dc8f | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Wed Jan 12 17:00:09 2011 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 13 08:03:12 2011 -0800 |
tree | 047b9d1785b944039454cc0d805bd6f6940787a6 | |
parent | 81d350e013a9a4b743281e16d5fd29cd8955a746 [diff] |
rtc: rtc-max6902 - set driver data in max6902_probe() Current implementation does not set driver data in max6902_probe(), thus calling platform_get_drvdata(spi) in max6902_remove() returns NULL. Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>