Add method Device::neutralConfiguration
Fix cppcheck warnings.