pmic_i2c: Return error in case of invalid pmic_i2c_tx_num