mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 08:49:45 +00:00
regulator: max14577: Remove unused state container definition
Remove the "struct max14577_regulator" because this is not used anywhere. It should be removed earlier along with changing the driver after review on the mailing lists. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
38dbfb59d1
commit
4d047d6c1f
1 changed files with 1 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* max14577.c - Regulator driver for the Maxim 14577
|
* max14577.c - Regulator driver for the Maxim 14577
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Samsung Electronics
|
* Copyright (C) 2013,2014 Samsung Electronics
|
||||||
* Krzysztof Kozlowski <k.kozlowski@samsung.com>
|
* Krzysztof Kozlowski <k.kozlowski@samsung.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -22,12 +22,6 @@
|
||||||
#include <linux/mfd/max14577-private.h>
|
#include <linux/mfd/max14577-private.h>
|
||||||
#include <linux/regulator/of_regulator.h>
|
#include <linux/regulator/of_regulator.h>
|
||||||
|
|
||||||
struct max14577_regulator {
|
|
||||||
struct device *dev;
|
|
||||||
struct max14577 *max14577;
|
|
||||||
struct regulator_dev **regulators;
|
|
||||||
};
|
|
||||||
|
|
||||||
static int max14577_reg_is_enabled(struct regulator_dev *rdev)
|
static int max14577_reg_is_enabled(struct regulator_dev *rdev)
|
||||||
{
|
{
|
||||||
int rid = rdev_get_id(rdev);
|
int rid = rdev_get_id(rdev);
|
||||||
|
|
Loading…
Reference in a new issue