summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon/pmbus-core.rst
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-10-26 11:53:52 +0100
committerGuenter Roeck <linux@roeck-us.net>2020-12-02 17:42:23 -0800
commit3bce071a301f44ffd08bada9b2e8238b625f8f8c (patch)
tree4763c3f5d93b631254e712cfc2afba41c07c57bb /Documentation/hwmon/pmbus-core.rst
parentad00a02e34b481396938c5fa62ee642bff7fbb08 (diff)
downloadlinux-3bce071a301f44ffd08bada9b2e8238b625f8f8c.tar.bz2
hwmon: (pmbus) shrink code and remove pmbus_do_remove()
The only action currently performed in pmbus_do_remove() is removing the debugfs hierarchy. We can schedule a devm action at probe time and remove pmbus_do_remove() entirely from all pmbus drivers. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Link: https://lore.kernel.org/r/20201026105352.20359-1-brgl@bgdev.pl [groeck: Removed references to pmbus_do_remove from documentation] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon/pmbus-core.rst')
-rw-r--r--Documentation/hwmon/pmbus-core.rst6
1 files changed, 0 insertions, 6 deletions
diff --git a/Documentation/hwmon/pmbus-core.rst b/Documentation/hwmon/pmbus-core.rst
index e22c4f6808bc..73e23ab42cc3 100644
--- a/Documentation/hwmon/pmbus-core.rst
+++ b/Documentation/hwmon/pmbus-core.rst
@@ -279,12 +279,6 @@ function.
::
- void pmbus_do_remove(struct i2c_client *client);
-
-Execute driver remove function. Similar to standard driver remove function.
-
-::
-
const struct pmbus_driver_info
*pmbus_get_driver_info(struct i2c_client *client);