am7xxx: simplify the device info caching operation in am7xxx_open_device()
authorAntonio Ospite <ao2@ao2.it>
Tue, 14 Feb 2017 09:04:19 +0000 (10:04 +0100)
committerAntonio Ospite <ao2@ao2.it>
Tue, 14 Feb 2017 09:04:19 +0000 (10:04 +0100)
commit80417f30dc0d1ff825d887032507511be4dcc11b
tree63fe09028760ae43c08774bc95c54fea583e5604
parent3e874361f193d7ce9dec3971fd1d4923fea1a9a5
am7xxx: simplify the device info caching operation in am7xxx_open_device()

Now that am7xxx_get_device_info() is more robust, the check in the
caller can be avoided.
src/am7xxx.c