/* * Platform data for MAX9768 * Copyright (C) 2011, 2012 by Wolfram Sang, Pengutronix e.K. * same licence as the driver */ #ifndef __SOUND_MAX9768_PDATA_H__ #define __SOUND_MAX9768_PDATA_H__ /** * struct max9768_pdata - optional platform specific MAX9768 configuration * @shdn_gpio: GPIO to SHDN pin. If not valid, pin must be hardwired HIGH * @mute_gpio: GPIO to MUTE pin. If not valid, control for mute won't be added * @flags: configuration flags, e.g. set classic PWM mode (check datasheet * regarding "filterless modulation" which is default). */ struct max9768_pdata { int shdn_gpio; int mute_gpio; unsigned flags; #define MAX9768_FLAG_CLASSIC_PWM (1 << 0) }; #endif /* __SOUND_MAX9768_PDATA_H__*/ cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/dt-bindings/gpio/meson8b-gpio.h
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-03-13 18:46:57 +0530
committerMark Brown <broonie@kernel.org>2016-05-30 16:29:34 +0100
commitf5a6d3516362f85d6a07e930bc10cd4b59f306c7 (patch)
tree7c9d79b686aedd9a8e1836bfd9e81cc2efcf7a8f /include/dt-bindings/gpio/meson8b-gpio.h
parent1a695a905c18548062509178b98bc91e67510864 (diff)
regulator: fixed: Remove workaround to handle of_get_named_gpio() return
The GPIO interface of_get_named_gpio() has implemented the proper error returns even EPROBE_DEFER and hence caller need not to implement any workaround for translating the returned error. Remove the workaround implemented to handle the return of of_get_named_gpio(). Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/dt-bindings/gpio/meson8b-gpio.h')