serial-dmm: Create wrappers for driver-specific hw_scan_*
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Tue, 11 Dec 2012 20:51:46 +0000 (14:51 -0600)
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>
Tue, 11 Dec 2012 21:13:24 +0000 (15:13 -0600)
commit2bbfaa1204366cce28347197abc633f9faf60cca
treeb94252259b21572b69bb442629b4424b752589d5
parent8afdbb2219700849ff57b50ee6124a482ebe0c5c
serial-dmm: Create wrappers for driver-specific hw_scan_*

Make hw_scan() take a dmm_info pointer.
Create a wrapper for each driver's .scan, and pass the appropriate
dmm_info pointer to the generic hw_scan().
This eliminates the need to use fixme_di in hw_scan().

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