net: rfkill: gpio: remove unused and obsolete platform parameters
After upgrading to descriptor based gpios, the gpio numbers are not used anymore. The power_clk_name and the platform specific setup and close hooks are not used by anybody, and we should not encourage use of such things, so removing them. Acked-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

parent
7bd494491b
commit
848ef58695
@@ -27,21 +27,11 @@
|
||||
* struct rfkill_gpio_platform_data - platform data for rfkill gpio device.
|
||||
* for unused gpio's, the expected value is -1.
|
||||
* @name: name for the gpio rf kill instance
|
||||
* @reset_gpio: GPIO which is used for reseting rfkill switch
|
||||
* @shutdown_gpio: GPIO which is used for shutdown of rfkill switch
|
||||
* @power_clk_name: [optional] name of clk to turn off while blocked
|
||||
* @gpio_runtime_close: clean up platform specific gpio configuration
|
||||
* @gpio_runtime_setup: set up platform specific gpio configuration
|
||||
*/
|
||||
|
||||
struct rfkill_gpio_platform_data {
|
||||
char *name;
|
||||
int reset_gpio;
|
||||
int shutdown_gpio;
|
||||
const char *power_clk_name;
|
||||
enum rfkill_type type;
|
||||
void (*gpio_runtime_close)(struct platform_device *);
|
||||
int (*gpio_runtime_setup)(struct platform_device *);
|
||||
};
|
||||
|
||||
#endif /* __RFKILL_GPIO_H */
|
||||
|
Reference in New Issue
Block a user