• Rafael J. Wysocki's avatar
    PM / docs: Fix structure references in device.rst · e3941cd9
    Rafael J. Wysocki authored
    There is a better way to represent structure references than it was
    done in device.rst by commit 730c4c05 (PM / sleep / docs: Convert
    PM notifiers document to reST), which is to use "struct name" as a
    link caption (e.g. :c:type:`struct device <device>`).  That will
    cause sphinx to generate a proper reference to the data type in
    question (struct device in the example above) and "struct name"
    will work as the link in the HTML output.
    
    Fix device.rst by using that convention where applicable.
    
    Fixes: 730c4c05 (PM / sleep / docs: Convert PM notifiers document to reST)
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
    e3941cd9
devices.rst 37.8 KB