zephyr/drivers
Lee Jones 66ded99622 dma: stm32f4x: Fix warning when !SYS_LOG_INF
The following warning occurs when !SYS_LOG_INF due to the fact
that these variables are only used for information purposes.
When logging is <INFO then the variables aren't utilised at all.
To fix this we're removing the variables completely and using
the direct calls from within the information prints instead.

drivers/dma/dma_stm32f4x.c: In function 'dma_stm32_dump_reg':
drivers/dma/dma_stm32f4x.c:196:11: warning: unused variable 'sfcr' [-Wunused-variable]
  uint32_t sfcr  = dma_stm32_read(ddata, DMA_STM32_SFCR(id));
           ^
drivers/dma/dma_stm32f4x.c:195:11: warning: unused variable 'sm1ar' [-Wunused-variable]
  uint32_t sm1ar = dma_stm32_read(ddata, DMA_STM32_SM1AR(id));
           ^
drivers/dma/dma_stm32f4x.c:194:11: warning: unused variable 'sm0ar' [-Wunused-variable]
  uint32_t sm0ar = dma_stm32_read(ddata, DMA_STM32_SM0AR(id));
           ^
drivers/dma/dma_stm32f4x.c:193:11: warning: unused variable 'spar' [-Wunused-variable]
  uint32_t spar  = dma_stm32_read(ddata, DMA_STM32_SPAR(id));
           ^
drivers/dma/dma_stm32f4x.c:192:11: warning: unused variable 'ndtr' [-Wunused-variable]
  uint32_t ndtr  = dma_stm32_read(ddata, DMA_STM32_SNDTR(id));
           ^
drivers/dma/dma_stm32f4x.c:191:11: warning: unused variable 'scr' [-Wunused-variable]
  uint32_t scr   = dma_stm32_read(ddata, DMA_STM32_SCR(id));

Change-Id: I91a0373ef6c9afa8a342181c0ab24bd58743300d
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2017-04-09 15:44:48 +00:00
..
adc drivers: Remove unnecessary CONFIG_SYS_POWER_DEEP_SLEEP 2017-02-10 16:27:32 +00:00
aio ext qmsi: Update to QMSI 1.4 RC2 2017-02-08 11:59:12 +00:00
bluetooth Bluetooth: Make bt_hci_driver instances link-time constants 2017-03-21 17:05:42 -07:00
clock_control clock: stm32f4: Fix range of CLOCK_STM32F4X_PLLN_MULTIPLIER config 2017-03-27 09:05:57 -05:00
console ipm_console: add Kconfig for receiver stack size 2017-03-06 16:58:20 +00:00
counter drivers: Remove unnecessary CONFIG_SYS_POWER_DEEP_SLEEP 2017-02-10 16:27:32 +00:00
crypto license: replace APL2.0 license with SPDX 2017-02-20 16:59:46 +00:00
display drivers: display: mb_display: Unify image and string APIs 2017-04-06 00:59:30 +00:00
dma dma: stm32f4x: Fix warning when !SYS_LOG_INF 2017-04-09 15:44:48 +00:00
ethernet drivers: eth_sam_gmac: Fix initialization order 2017-04-07 12:35:51 +03:00
flash flash/stm32: driver for STM32F4x series 2017-02-22 18:08:57 -06:00
gpio gpio: Add gpio_mmio32 driver to access basic 32-bit i/o registers 2017-04-04 17:55:13 -05:00
grove grove: fix variable type mismatch 2017-02-11 00:14:15 +00:00
i2c drivers: i2c: place all I2C Kconfig options in submenu 2017-04-08 00:12:30 +00:00
ieee802154 drivers/ieee802154: Adding support for CC2520 ccm crypto 2017-03-31 10:39:33 +02:00
interrupt_controller interrupt_controller: added support for the SiFive Freedom E310 PLIC driver 2017-04-02 15:15:16 +00:00
ipm ipm: fix Makefile to include drivers correctly 2017-02-15 02:07:15 +00:00
pci license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
pinmux pinmux: stm32l4x rework header definition 2017-04-04 17:55:13 -05:00
pwm drivers: stm32: clean up after stm23cube based clock control 2017-02-10 14:47:41 -06:00
random random: add MCUX TRNG driver 2017-03-02 14:13:27 +00:00
rtc drivers: Remove unnecessary CONFIG_SYS_POWER_DEEP_SLEEP 2017-02-10 16:27:32 +00:00
sensor sensor: max30101: Add heart rate sensor driver 2017-04-06 11:47:17 +00:00
serial cc3200: Resolve DTS fixup. 2017-04-04 17:55:12 -05:00
shared_irq license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
slip drivers: slip: Fix memory corruption when receiving packet 2017-03-17 10:34:44 +02:00
spi arm: spi: spi master support for nrf52 family 2017-04-04 17:55:13 -05:00
timer timer: riscv_machine_timer: prevent spurious interrupt while rearming the timer 2017-04-02 15:15:03 +00:00
usb license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
watchdog watchdog: Add WDT driver for Atmel SAM SoCs 2017-03-09 13:43:17 +00:00
Kconfig drivers: Add support for BBC micro:bit LED display 2017-04-04 08:14:36 +03:00
Makefile drivers: Add support for BBC micro:bit LED display 2017-04-04 08:14:36 +03:00