serial-dmm: Take a dmm_info* instead of an index in dmms[]
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Tue, 11 Dec 2012 19:56:38 +0000 (13:56 -0600)
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>
Tue, 11 Dec 2012 19:56:38 +0000 (13:56 -0600)
commit71be4d6ff8bddbd29abdeb357f1eccd37adc84ed
tree1d13e445582a8e787e16005790a37ee21e3162fa
parent7cabdd0ac0e976216f9ba1071980873c25915620
serial-dmm: Take a dmm_info* instead of an index in dmms[]

hw_init() and scan() took the index to the correct struct in the dmms
array.

Don't pass the index, but the pointer to the actual struct.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
hardware/serial-dmm/api.c