[RFC] spi: spi-fsl-qspi: fix dev_request_mem_resource() usage

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 1 06:18:46 PDT 2024


On Wed, 19 Jun 2024 00:33:57 +0300, Antony Pavlov wrote:
> Here is the code from drivers/spi/spi-fsl-qspi.c:
> 
> > res = dev_request_mem_resource(dev, 0);
> > q->iobase = IOMEM(res->start);
> > if (IS_ERR(q->iobase)) {
> >         ret = PTR_ERR(q->iobase);
> >         goto err_put_ctrl;
> > }
> 
> [...]

Applied, thanks!

[1/1] spi: spi-fsl-qspi: fix dev_request_mem_resource() usage
      https://git.pengutronix.de/cgit/barebox/commit/?id=3104ea021aef (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list