Use macro DEVICE_SYMBOL and function print_reason_device_not_supported()