Skip to content

Couple of sysfs patches

Dmitry Torokhov lkml 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3whitespace fixes in drivers/basedrivers/base/base.h drivers/base/bus.c drivers/base/class.c +17 more+268 -2680 replies
1/3Suppress platform device suffixes - take 2drivers/base/platform.c+4 -11 reply
2/3Suppress platform device suffixesdrivers/base/platform.c+4 -10 replies
2/3Add platform_device_register_simpledrivers/base/platform.c include/linux/device.h+52 -03 replies
3/3Add platform_device_simple_releasedrivers/base/platform.c include/linux/device.h+22 -00 replies
3/3Whitespace fixesdrivers/base/base.h drivers/base/bus.c drivers/base/class.c +17 more+267 -2674 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] Couple of sysfs patches

Hi,

I am trying to add sysfs support to the serio subsystem and I would like you to consider the following changes:

- when registering platform device, if device id is set to -1, do not add it as a suffix to device's name. It can be used when there is only one device. The reason for change - i find that i80420 looks ugly, just i8042 is much better ;)

- create platform_device_simple_releasse function that would just free memory occupied by platform device. Having such release routine in core allows drivers implementing simple platform devices not wait in module unload code till last reference to the device is dropped.

And of course whitespace changes ;) in the very first patch.

Please consider applying.

Signature · 1 line
Dmitry