I am using WANDBOARD..... I am connecting FXOS8700 sensor to this board through I2C communication..
IN FXOS8700_probe function
client_id = i2c_smbus_read_byte_data(client, FXOS8700_WHO_AM_I);
if (client_id != FXOS8700_DEVICE_ID ) {
dev_err(&client->dev,"read chip ID 0x%x is not equal to 0x%x \n",result, FXOS8700_DEVICE_ID);
result = -EINVAL;
goto err_out;
}
it is giving error like