mbox series

[-next,0/2] Use devm_spi_alloc_host() to simplfy code

Message ID 20240826121421.3384792-1-ruanjinjie@huawei.com
Headers show
Series Use devm_spi_alloc_host() to simplfy code | expand

Message

Jinjie Ruan Aug. 26, 2024, 12:14 p.m. UTC
Use devm_spi_alloc_host() and dev_err_probe() to simplfy code.

Jinjie Ruan (2):
  spi: zynqmp-gqspi: Use devm_spi_alloc_host()
  spi: zynqmp-gqspi: Simplify with dev_err_probe()

 drivers/spi/spi-zynqmp-gqspi.c | 32 +++++++++++---------------------
 1 file changed, 11 insertions(+), 21 deletions(-)

Comments

Michal Simek Aug. 30, 2024, 1:42 p.m. UTC | #1
On 8/26/24 14:14, Jinjie Ruan wrote:
> Use devm_spi_alloc_host() and dev_err_probe() to simplfy code.
> 
> Jinjie Ruan (2):
>    spi: zynqmp-gqspi: Use devm_spi_alloc_host()
>    spi: zynqmp-gqspi: Simplify with dev_err_probe()
> 
>   drivers/spi/spi-zynqmp-gqspi.c | 32 +++++++++++---------------------
>   1 file changed, 11 insertions(+), 21 deletions(-)
> 

Acked-by: Michal Simek <michal.simek@amd.com>

Thanks,
Michal
Mark Brown Aug. 30, 2024, 6:44 p.m. UTC | #2
On Mon, 26 Aug 2024 20:14:19 +0800, Jinjie Ruan wrote:
> Use devm_spi_alloc_host() and dev_err_probe() to simplfy code.
> 
> Jinjie Ruan (2):
>   spi: zynqmp-gqspi: Use devm_spi_alloc_host()
>   spi: zynqmp-gqspi: Simplify with dev_err_probe()
> 
> drivers/spi/spi-zynqmp-gqspi.c | 32 +++++++++++---------------------
>  1 file changed, 11 insertions(+), 21 deletions(-)
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/2] spi: zynqmp-gqspi: Use devm_spi_alloc_host()
      commit: 64640f6c972e80f52196416a8d4dc3c0ffcbc82d
[2/2] spi: zynqmp-gqspi: Simplify with dev_err_probe()
      commit: d814fd0f046c2a6b1a919e1a529550bdfe9f9f9b

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark