lkmpg/examples
Jeremy90307 e3e11431fc Allow devicemodel built with Linux v6.11+
Since commit 0edb555 ("platform: Make platform_driver::remove() return
void"), the original `platform_driver::remove()` function returned an
integer value, usually an error code. This made driver developers think
that errors were properly handled. However, the driver core does not
stop the device removal process based on the error code, so the error
code did not serve its intended purpose. Therefore, the return type was
changed to `void` to avoid potential issues.

Make the devicemodel example run successfully on Linux v6.11+.

Testing detail:

- Tested on Raspberry Pi 5B with Raspberry Pi OS (Debian 12, Linux
  version 6.12.1-v8-16k+)

- Verified the devicemodel examples compile and load successfully
2024-12-11 19:35:47 +08:00
..
2024-11-11 18:51:47 +08:00
2024-11-11 18:51:47 +08:00
2022-02-21 00:53:29 +08:00
2024-04-16 02:38:07 +08:00
2024-04-16 06:19:52 +08:00
2024-04-21 01:09:28 +08:00
2024-10-06 14:25:49 +08:00
2024-10-07 12:05:43 +08:00
2023-10-08 17:14:09 +08:00
2023-10-07 16:32:26 +02:00
2024-10-17 02:23:21 +08:00
2021-08-08 01:24:59 +08:00
2021-09-04 17:53:29 +08:00
2024-10-05 12:01:45 +08:00
2024-10-25 12:22:29 +08:00
2022-04-19 01:54:24 +08:00
2022-04-19 01:54:24 +08:00