drivers: serial: stm32: remove HAL driver legacy

Remove UART_HandleTypeDef instance, which is used
only to store baudrate value.

Signed-off-by: Ilya Tagunov <tagunil@gmail.com>
This commit is contained in:
Ilya Tagunov 2018-04-11 15:21:16 +03:00 committed by Kumar Gala
commit 6632ffa60f
2 changed files with 4 additions and 8 deletions

View file

@ -17,12 +17,12 @@ struct uart_stm32_config {
struct uart_device_config uconf;
/* clock subsystem driving this peripheral */
struct stm32_pclken pclken;
/* Baud rate */
u32_t baud_rate;
};
/* driver data */
struct uart_stm32_data {
/* Uart peripheral handler */
UART_HandleTypeDef huart;
/* clock device */
struct device *clock;
#ifdef CONFIG_UART_INTERRUPT_DRIVEN