device_parsing: Small code cleanup
device_parsing: Small code cleanup

Use the specific device parsing function as parameter in do_parse() instead
of checking for the device type in both caller and callee.

Signed-off-by: Eduardo Lima (Etrunko) <62d34c03f1c79cee129ea3245d580303ab09f27f@br.ibm.com>

libvirt/libvirt-cim,libvirt/libvirt-cim,libvirt/libvirt-cim