Style fixed, code cleanup (device_inject.h)