Skip to content

Commit

Permalink
regmap: Trivial fixes
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
patriickoo authored and panicking committed Jun 5, 2024
1 parent 6db69e5 commit 30c653b
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions drivers/base/regmap/regmap.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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:

<v-click>
Some functions are declared and exported as `__foo`,
while in drivers they are called as `foo`. How?

<br>

<div align=left>
<v-click>

Inside the header file, there is a wrapper macro named `foo`, which calls
`__foo` while also checking lock dependencies at runtime.
Expand All @@ -266,8 +262,6 @@ The following example is taken from `include/linux/regmap.h`:
i2c, config)
```
</div>
</v-click>
---
Expand Down

0 comments on commit 30c653b

Please sign in to comment.