am7xxx: pass the context to add_new_device() and find_device()
authorAntonio Ospite <ospite@studenti.unina.it>
Tue, 28 Feb 2012 20:57:45 +0000 (21:57 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Wed, 29 Feb 2012 22:45:18 +0000 (23:45 +0100)
commit8116c40f687d89cbcd521e2268a3a084b9280dfe
tree6ec9b453d66401357959667d05add2c2870d754f
parenta27837d8dd8b78b4fcc9224d83d2f85fdf8eb19f
am7xxx: pass the context to add_new_device() and find_device()

This is preparation for when we will track the context in am7xxx_device
as well, and as a side effect those functions now look more consistent
with the other ones.
src/am7xxx.c