regulator: gpio-switch: Fully remove
Dan Willemsen [Thu, 12 Apr 2012 20:54:30 +0000 (13:54 -0700)]
0cb53fae65 removed the sources for the gpio-switch-regulator, but missed
the header file. There are no in-tree users of this header file.

Change-Id: Ib497e97b9374025c18c7b20a2006d0c66e2b68a7
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/96258
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

include/linux/regulator/gpio-switch-regulator.h [deleted file]

diff --git a/include/linux/regulator/gpio-switch-regulator.h b/include/linux/regulator/gpio-switch-regulator.h
deleted file mode 100644 (file)
index 68776b9..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Copyright (c) 2011, NVIDIA Corporation.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- */
-
-#ifndef _GPIO_SWITCH_REGULATOR_H
-#define _GPIO_SWITCH_REGULATOR_H
-
-#include <linux/regulator/machine.h>
-
-/*
- * struct gpio_switch_regulator_subdev_data - Gpio switch regulator subdevice
- * data.
- *
- * Subdevice data to register a gpio regulator switch device driver.
- *
- * @regulator_name: The name of regulator.
- * @input_supply: Input supply name.
- * @id: The id of the switch.
- * @gpio_nr: Gpio nr which controls this switch.
- * @active_low: true if making gpio low makes voltage output enable.
- * @init_state: 1 if init_state should be active.
- * @voltages: Possible voltages to set at output. The values are in millivolt.
- * @n_voltages: Number of voltages.
- * @num_consumer_supplies: Number of cosumer supplies.
- * @consumer_supplies: List of consumer spllies.
- */
-struct gpio_switch_regulator_subdev_data {
-       const char      *regulator_name;
-       const char      *input_supply;
-       int id;
-       int gpio_nr;
-       int active_low;
-       int pin_group;
-       int init_state;
-       int *voltages;
-       unsigned n_voltages;
-       struct regulator_consumer_supply *consumer_supplies;
-       int num_consumer_supplies;
-       struct regulation_constraints constraints;
-       int (*enable_rail)(struct gpio_switch_regulator_subdev_data *pdata);
-       int (*disable_rail)(struct gpio_switch_regulator_subdev_data *pdata);
-
-};
-
-/**
- * gpio_switch_regulator_platform_data - platform data for gpio_switch_regulator
- * @num_subdevs: number of regulators used
- * @subdevs: pointer to regulators used
- */
-struct gpio_switch_regulator_platform_data {
-       int num_subdevs;
-       struct gpio_switch_regulator_subdev_data **subdevs;
-};
-
-#endif