Skip to content

toshiba_acpi: Refactor *{get, set} and *available functions

Azael Avalos lkml platform-driver-x86 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 8 repliesIn review
  2. v24 patches 3 repliesSuperseded
  3. v14 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Introduced a new patch to remove unnecessary checks instead of cramming them in the patch series
- Updated patch descriptions
- Reverted some changes on the previous version to avoid compiler warnings

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5toshiba_acpi: Change *available functions return typedrivers/platform/x86/toshiba_acpi.c+62 -670 replies
2/5toshiba_acpi: Remove "*not supported" feature printsdrivers/platform/x86/toshiba_acpi.c+46 -263 replies
3/5toshiba_acpi: Refactor *{get, set} functions return valuedrivers/platform/x86/toshiba_acpi.c+104 -730 replies
4/5toshiba_acpi: Remove unnecessary checks and returns in HCI/SCI functionsdrivers/platform/x86/toshiba_acpi.c+44 -1255 replies
5/5toshiba_acpi: Bump driver version to 0.23drivers/platform/x86/toshiba_acpi.c+1 -10 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/5] toshiba_acpi: Refactor *{get, set} and *available functions

These patches changes the *{get, set} and *available functions default return type, changes the printed messages of the supported features, removes some unnedded checks and bumps the driver version to 0.23.

Changes since v2:
- Introduced a new patch to remove unnecessary checks instead of cramming them in the patch series
- Updated patch descriptions
- Reverted some changes on the previous version to avoid compiler warnings

Changes since v1:
- Fixed typos in patch 01 description and use newly created *led_registered variables to unregister leds
- Adapt *{lcd, video}_proc functions in patch 03 to ensure we are not breaking userspace and updated patch description

Azael Avalos (5):
toshiba_acpi: Change *available functions return type
toshiba_acpi: Remove "*not supported" feature prints
toshiba_acpi: Refactor *{get, set} functions return value
toshiba_acpi: Remove unnecessary checks and returns in HCI/SCI
functions
toshiba_acpi: Bump driver version to 0.23

 drivers/platform/x86/toshiba_acpi.c | 531 +++++++++++++++++-------------------
 1 file changed, 248 insertions(+), 283 deletions(-)
Signature · 1 line
2.4.6