mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
c5dbcf8b70
Instead of allocating a struct pps_gpio_platform_data in the DT case, store the necessary information in struct pps_gpio_device_data itself. This avoids an additional allocation and the ifdef. It also gets rid of some indirection. Also use dev_err instead of pr_err in the changed code. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Rodolfo Giometti <giometti@enneenne.com> Cc: Grant Likely <grant.likely@linaro.org> Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
arc | ||
arm | ||
ata | ||
bus | ||
c6x | ||
clock | ||
cpufreq | ||
crypto | ||
dma | ||
drm/tilcdc | ||
extcon | ||
fb | ||
gpio | ||
gpu | ||
hwmon | ||
hwrng | ||
i2c | ||
iio | ||
input | ||
interrupt-controller | ||
iommu | ||
leds | ||
lpddr2 | ||
media | ||
memory-controllers | ||
metag | ||
mfd | ||
mips | ||
misc | ||
mmc | ||
mtd | ||
net | ||
nvec | ||
pci | ||
pinctrl | ||
power | ||
power_supply | ||
powerpc | ||
pps | ||
pwm | ||
regulator | ||
reset | ||
rng | ||
rtc | ||
serial | ||
serio | ||
sound | ||
spi | ||
staging | ||
thermal | ||
timer | ||
tty/serial | ||
usb | ||
video | ||
virtio | ||
w1 | ||
watchdog | ||
x86 | ||
eeprom.txt | ||
marvell.txt | ||
open-pic.txt | ||
resource-names.txt | ||
vendor-prefixes.txt | ||
xilinx.txt |