From 30c653b35f3e682443c6aedf223d2c352c1fc0d5 Mon Sep 17 00:00:00 2001 From: Patrick Barsanti Date: Wed, 5 Jun 2024 15:35:01 +0200 Subject: [PATCH] regmap: Trivial fixes Remove unwanted explicit font declaration. Remove useless background image, which is not being displayed. Fix slide 10 (wrapper macro) to match the rest of the presentation. Signed-off-by: Patrick Barsanti --- drivers/base/regmap/regmap.md | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/base/regmap/regmap.md b/drivers/base/regmap/regmap.md index 8bcd7c6..5d1da8f 100644 --- a/drivers/base/regmap/regmap.md +++ b/drivers/base/regmap/regmap.md @@ -1,11 +1,5 @@ --- theme: ../../../template -fonts: - sans: Open Sans - serif: IBM Plex Serif - mono: IBM Plex Mono - weights: '200,400,700' -image: 'https://images.unsplash.com/photo-1517077304055-6e89abbf09b0?q=80&w=2069' transition: slide-left mdc: true layout: cover @@ -249,12 +243,14 @@ layout: fact hideInToc: true --- -## Some functions are declared and exported as `__foo`, -## while in drivers they are called as `foo`. How? +# Something curious: - +Some functions are declared and exported as `__foo`, +while in drivers they are called as `foo`. How? + +
-
+ Inside the header file, there is a wrapper macro named `foo`, which calls `__foo` while also checking lock dependencies at runtime. @@ -266,8 +262,6 @@ The following example is taken from `include/linux/regmap.h`: i2c, config) ``` -
-
---