Merge 3.12-rc2 into staging-next.
This resolves the merge problem with two iio drivers that Stephen Rothwell pointed out. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -617,7 +617,7 @@ static int bma180_remove(struct i2c_client *client)
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
static int bma180_suspend(struct device *dev)
|
||||
{
|
||||
struct iio_dev *indio_dev = dev_to_iio_dev(dev);
|
||||
struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev));
|
||||
struct bma180_data *data = iio_priv(indio_dev);
|
||||
int ret;
|
||||
|
||||
@@ -630,7 +630,7 @@ static int bma180_suspend(struct device *dev)
|
||||
|
||||
static int bma180_resume(struct device *dev)
|
||||
{
|
||||
struct iio_dev *indio_dev = dev_to_iio_dev(dev);
|
||||
struct iio_dev *indio_dev = i2c_get_clientdata(to_i2c_client(dev));
|
||||
struct bma180_data *data = iio_priv(indio_dev);
|
||||
int ret;
|
||||
|
||||
|
Reference in New Issue
Block a user