@@ -103,7 +103,7 @@ fn to_c_str_array(names: &[CString]) -> Result<KVec<*const u8>> {
103
103
///
104
104
/// Represents voltage in microvolts, wrapping a [`c_ulong`] value.
105
105
///
106
- /// ## Examples
106
+ /// # Examples
107
107
///
108
108
/// ```
109
109
/// use kernel::opp::MicroVolt;
@@ -128,7 +128,7 @@ impl From<MicroVolt> for c_ulong {
128
128
///
129
129
/// Represents power in microwatts, wrapping a [`c_ulong`] value.
130
130
///
131
- /// ## Examples
131
+ /// # Examples
132
132
///
133
133
/// ```
134
134
/// use kernel::opp::MicroWatt;
@@ -153,7 +153,7 @@ impl From<MicroWatt> for c_ulong {
153
153
///
154
154
/// The associated [`OPP`] is automatically removed when the [`Token`] is dropped.
155
155
///
156
- /// ## Examples
156
+ /// # Examples
157
157
///
158
158
/// The following example demonstrates how to create an [`OPP`] dynamically.
159
159
///
@@ -202,7 +202,7 @@ impl Drop for Token {
202
202
/// Rust abstraction for the C `struct dev_pm_opp_data`, used to define operating performance
203
203
/// points (OPPs) dynamically.
204
204
///
205
- /// ## Examples
205
+ /// # Examples
206
206
///
207
207
/// The following example demonstrates how to create an [`OPP`] with [`Data`].
208
208
///
@@ -254,7 +254,7 @@ impl Data {
254
254
255
255
/// [`OPP`] search options.
256
256
///
257
- /// ## Examples
257
+ /// # Examples
258
258
///
259
259
/// Defines how to search for an [`OPP`] in a [`Table`] relative to a frequency.
260
260
///
@@ -326,7 +326,7 @@ impl Drop for ConfigToken {
326
326
///
327
327
/// Rust abstraction for the C `struct dev_pm_opp_config`.
328
328
///
329
- /// ## Examples
329
+ /// # Examples
330
330
///
331
331
/// The following example demonstrates how to set OPP property-name configuration for a [`Device`].
332
332
///
@@ -569,7 +569,7 @@ impl<T: ConfigOps + Default> Config<T> {
569
569
///
570
570
/// Instances of this type are reference-counted.
571
571
///
572
- /// ## Examples
572
+ /// # Examples
573
573
///
574
574
/// The following example demonstrates how to get OPP [`Table`] for a [`Cpumask`] and set its
575
575
/// frequency.
@@ -1011,7 +1011,7 @@ impl Drop for Table {
1011
1011
///
1012
1012
/// A reference to the [`OPP`], &[`OPP`], isn't refcounted by the Rust code.
1013
1013
///
1014
- /// ## Examples
1014
+ /// # Examples
1015
1015
///
1016
1016
/// The following example demonstrates how to get [`OPP`] corresponding to a frequency value and
1017
1017
/// configure the device with it.
0 commit comments