~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/misc/bh1780gli.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        int ret = i2c_smbus_write_byte_data(ddata->client, reg, val);
50
50
        if (ret < 0)
51
51
                dev_err(&ddata->client->dev,
52
 
                        "i2c_smbus_write_byte_data failed error %d\
53
 
                        Register (%s)\n", ret, msg);
 
52
                        "i2c_smbus_write_byte_data failed error %d Register (%s)\n",
 
53
                        ret, msg);
54
54
        return ret;
55
55
}
56
56
 
59
59
        int ret = i2c_smbus_read_byte_data(ddata->client, reg);
60
60
        if (ret < 0)
61
61
                dev_err(&ddata->client->dev,
62
 
                        "i2c_smbus_read_byte_data failed error %d\
63
 
                         Register (%s)\n", ret, msg);
 
62
                        "i2c_smbus_read_byte_data failed error %d Register (%s)\n",
 
63
                        ret, msg);
64
64
        return ret;
65
65
}
66
66