tps6507x.c (31dd6a2672e337f5de188df3e5169ee732798236) tps6507x.c (752599667048898b6969e06e4637f906b04ec752)
1/*
2 * tps6507x.c -- TPS6507x chip family multi-function driver
3 *
4 * Copyright (c) 2010 RidgeRun (todd.fischer@ridgerun.com)
5 *
6 * Author: Todd Fischer
7 * todd.fischer@ridgerun.com
8 *

--- 12 unchanged lines hidden (view full) ---

21#include <linux/i2c.h>
22#include <linux/mfd/core.h>
23#include <linux/mfd/tps6507x.h>
24
25static struct mfd_cell tps6507x_devs[] = {
26 {
27 .name = "tps6507x-pmic",
28 },
1/*
2 * tps6507x.c -- TPS6507x chip family multi-function driver
3 *
4 * Copyright (c) 2010 RidgeRun (todd.fischer@ridgerun.com)
5 *
6 * Author: Todd Fischer
7 * todd.fischer@ridgerun.com
8 *

--- 12 unchanged lines hidden (view full) ---

21#include <linux/i2c.h>
22#include <linux/mfd/core.h>
23#include <linux/mfd/tps6507x.h>
24
25static struct mfd_cell tps6507x_devs[] = {
26 {
27 .name = "tps6507x-pmic",
28 },
29 {
30 .name = "tps6507x-ts",
31 },
29};
30
31
32static int tps6507x_i2c_read_device(struct tps6507x_dev *tps6507x, char reg,
33 int bytes, void *dest)
34{
35 struct i2c_client *i2c = tps6507x->i2c_client;
36 struct i2c_msg xfer[2];

--- 120 unchanged lines hidden ---
32};
33
34
35static int tps6507x_i2c_read_device(struct tps6507x_dev *tps6507x, char reg,
36 int bytes, void *dest)
37{
38 struct i2c_client *i2c = tps6507x->i2c_client;
39 struct i2c_msg xfer[2];

--- 120 unchanged lines hidden ---