Skip to content

serdev: Update a few places to use new APIs

Andy Shevchenko linux-serial lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3serdev: Make use of device_set_node()drivers/tty/serdev/core.c+3 -10 replies
2/3serdev: Simplify devm_serdev_device_open() functiondrivers/tty/serdev/core.c+4 -140 replies
3/3serdev: Replace custom code with device_match_acpi_handle()drivers/tty/serdev/core.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/3] serdev: Update a few places to use new APIs

Inspired by the reviwing the patch by Tony Lindgren.

The first one makes a behavioural change on ACPI platforms where sysfs entry will get firmware_node link in addition to what it has now.

Andy Shevchenko (3):
serdev: Make use of device_set_node()
serdev: Simplify devm_serdev_device_open() function
serdev: Replace custom code with device_match_acpi_handle()

 drivers/tty/serdev/core.c | 24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)
Signature · 1 line
2.40.0.1.gaa8946217a0b