AS5011_X_RES_INT
error = as5011_i2c_read(as5011->i2c_client, AS5011_X_RES_INT, &x);
error = as5011_i2c_read(client, AS5011_X_RES_INT, &value);