modbus_disable_quirks - disable a list of quirks according to a mask
The function shall disable the quirks according to the provided mask. It's useful to revert changes applied by a previous call to modbus_enable_quirks
To reset all quirks, you can use the specific value
The function shall return 0 if successful. Otherwise it shall return -1 and set errno.