From: Dragan Simic <dsimic@manjaro.org>
To: linux-spi@vger.kernel.org, linux-rockchip@lists.infradead.org
Cc: broonie@kernel.org, heiko@sntech.de, oss@helene.moe,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/5] Improve error handling in Rockchip SPI drivers
Date: Thu, 26 Sep 2024 10:38:11 +0200 [thread overview]
Message-ID: <cover.1727337732.git.dsimic@manjaro.org> (raw)
This is a small series that improves error handling in the probe path
of the Rockchip SPI drivers, by using dev_err_probe() properly in multiple
places. It also removes one unnecessary check of a function return value,
and performs a bunch of small, rather trivial code cleanups, to make the
code neater and a bit easier to read.
Dragan Simic (5):
spi: rockchip: Perform trivial code cleanups
spi: rockchip-sfc: Perform trivial code cleanups
spi: rockchip: Don't check for failed get_fifo_len()
spi: rockchip: Use dev_err_probe() in the probe path
spi: rockchip-sfc: Use dev_err_probe() in the probe path
drivers/spi/spi-rockchip-sfc.c | 21 +++++--------
drivers/spi/spi-rockchip.c | 57 ++++++++++++++--------------------
2 files changed, 32 insertions(+), 46 deletions(-)
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
WARNING: multiple messages have this Message-ID (diff)
From: Dragan Simic <dsimic@manjaro.org>
To: linux-spi@vger.kernel.org, linux-rockchip@lists.infradead.org
Cc: broonie@kernel.org, heiko@sntech.de, oss@helene.moe,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/5] Improve error handling in Rockchip SPI drivers
Date: Thu, 26 Sep 2024 10:38:11 +0200 [thread overview]
Message-ID: <cover.1727337732.git.dsimic@manjaro.org> (raw)
This is a small series that improves error handling in the probe path
of the Rockchip SPI drivers, by using dev_err_probe() properly in multiple
places. It also removes one unnecessary check of a function return value,
and performs a bunch of small, rather trivial code cleanups, to make the
code neater and a bit easier to read.
Dragan Simic (5):
spi: rockchip: Perform trivial code cleanups
spi: rockchip-sfc: Perform trivial code cleanups
spi: rockchip: Don't check for failed get_fifo_len()
spi: rockchip: Use dev_err_probe() in the probe path
spi: rockchip-sfc: Use dev_err_probe() in the probe path
drivers/spi/spi-rockchip-sfc.c | 21 +++++--------
drivers/spi/spi-rockchip.c | 57 ++++++++++++++--------------------
2 files changed, 32 insertions(+), 46 deletions(-)
next reply other threads:[~2024-09-26 8:51 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-26 8:38 Dragan Simic [this message]
2024-09-26 8:38 ` [PATCH 0/5] Improve error handling in Rockchip SPI drivers Dragan Simic
2024-09-26 8:38 ` [PATCH 1/5] spi: rockchip: Perform trivial code cleanups Dragan Simic
2024-09-26 8:38 ` Dragan Simic
2024-09-26 8:52 ` Heiko Stuebner
2024-09-26 8:52 ` Heiko Stuebner
2024-09-26 8:38 ` [PATCH 2/5] spi: rockchip-sfc: " Dragan Simic
2024-09-26 8:38 ` Dragan Simic
2024-09-26 8:53 ` Heiko Stuebner
2024-09-26 8:53 ` Heiko Stuebner
2024-09-26 8:38 ` [PATCH 3/5] spi: rockchip: Don't check for failed get_fifo_len() Dragan Simic
2024-09-26 8:38 ` Dragan Simic
2024-09-26 8:55 ` Heiko Stuebner
2024-09-26 8:55 ` Heiko Stuebner
2024-09-26 9:10 ` Dragan Simic
2024-09-26 9:10 ` Dragan Simic
2024-09-26 9:17 ` Mark Brown
2024-09-26 9:17 ` Mark Brown
2024-09-26 10:14 ` Dragan Simic
2024-09-26 10:14 ` Dragan Simic
2024-09-26 8:38 ` [PATCH 4/5] spi: rockchip: Use dev_err_probe() in the probe path Dragan Simic
2024-09-26 8:38 ` Dragan Simic
2024-09-26 9:00 ` Heiko Stuebner
2024-09-26 9:00 ` Heiko Stuebner
2024-09-26 9:21 ` Dragan Simic
2024-09-26 9:21 ` Dragan Simic
2024-09-26 8:38 ` [PATCH 5/5] spi: rockchip-sfc: " Dragan Simic
2024-09-26 8:38 ` Dragan Simic
2024-09-26 9:01 ` Heiko Stuebner
2024-09-26 9:01 ` Heiko Stuebner
2024-09-30 23:51 ` (subset) [PATCH 0/5] Improve error handling in Rockchip SPI drivers Mark Brown
2024-09-30 23:51 ` Mark Brown
2024-10-01 0:05 ` Diederik de Haas
2024-10-01 0:05 ` Diederik de Haas
2024-10-01 2:30 ` Dragan Simic
2024-10-01 2:30 ` Dragan Simic
2024-10-01 7:59 ` Diederik de Haas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1727337732.git.dsimic@manjaro.org \
--to=dsimic@manjaro.org \
--cc=broonie@kernel.org \
--cc=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-spi@vger.kernel.org \
--cc=oss@helene.moe \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.