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

« back to all changes in this revision

Viewing changes to drivers/hwmon/max34440.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:
32
32
#define MAX34440_STATUS_OT_FAULT        (1 << 5)
33
33
#define MAX34440_STATUS_OT_WARN         (1 << 6)
34
34
 
35
 
static int max34440_get_status(struct i2c_client *client, int page, int reg)
 
35
static int max34440_read_byte_data(struct i2c_client *client, int page, int reg)
36
36
{
37
37
        int ret;
38
38
        int mfg_status;
108
108
                .func[11] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
109
109
                .func[12] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
110
110
                .func[13] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
111
 
                .get_status = max34440_get_status,
 
111
                .read_byte_data = max34440_read_byte_data,
112
112
        },
113
113
        [max34441] = {
114
114
                .pages = 12,
149
149
                .func[9] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
150
150
                .func[10] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
151
151
                .func[11] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP,
152
 
                .get_status = max34440_get_status,
 
152
                .read_byte_data = max34440_read_byte_data,
153
153
        },
154
154
};
155
155