These variables are useless. They are being assigned a value which is
never used since UART is expected to be pre-configured.
No functional change.
Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
#define imx_lpuart_write(uart, off, val) writel((val), (uart)->regs + (off))
static struct imx_lpuart {
- uint32_t baud, clock_hz, data_bits, parity, stop_bits, fifo_size;
uint32_t irq;
char __iomem *regs;
struct irqaction irqaction;
uart = &imx8_com;
- uart->baud = 115200;
- uart->data_bits = 8;
- uart->parity = 0;
- uart->stop_bits = 1;
-
res = dt_device_get_paddr(dev, 0, &addr, &size);
if ( res )
{