11 Commits

Author SHA1 Message Date
befbaf085b examples: Add missing __init/__exit (#209)
Close #207
2023-07-05 09:44:21 +08:00
e07bf16bfd devicemodel: Remove duplicate owner assignment
platform_driver_register() macro already does the correct assignment for
the owner of the driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2023-02-21 23:04:41 +02:00
eef2bc4395 Enforce Linux kernel coding style (#88)
The only exception is to indent with four spaces rather than tabs
for sticking to compact layout of source listing.

Close #87
2021-09-02 15:15:07 +08:00
10c7a9433a Apply editorial changes
This patch makes source listing shorter and more compact, that helps
when browsing.
2021-08-08 01:24:59 +08:00
d43259c553 Drop the deprecated init_module() and cleanup_module() 2021-08-08 00:29:24 +08:00
40e83aa14b Tidy section: The Device Model 2021-08-07 10:59:15 +08:00
00f7e7018f Fix trivial tweak for missing comma 2021-07-26 03:08:27 +08:00
faf3aa7c22 Make each source file more consistent
It is vital to denote the file name and summary for each source,
otherwise readers could not figure out the corresponding files.
2021-07-22 11:25:32 +08:00
760bbe70cb Drop duplicated module author information 2021-07-22 07:29:07 +08:00
50b8dfe6c2 Enforce the customized style for example code
Instead of using tab for indention, the style defaults to 4 spaces for
the sake of compact layout.
2021-07-22 06:58:13 +08:00
2246e20809 Add LaTeX script and sample code 2021-07-22 06:35:24 +08:00