diff options
-rw-r--r-- | Documentation/hwmon/submitting-patches | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/hwmon/submitting-patches b/Documentation/hwmon/submitting-patches index 86f42e8e9e49..790f774a3032 100644 --- a/Documentation/hwmon/submitting-patches +++ b/Documentation/hwmon/submitting-patches | |||
@@ -70,6 +70,9 @@ increase the chances of your change being accepted. | |||
70 | review more difficult. It may also result in code which is more complicated | 70 | review more difficult. It may also result in code which is more complicated |
71 | than necessary. Use inline functions or just regular functions instead. | 71 | than necessary. Use inline functions or just regular functions instead. |
72 | 72 | ||
73 | * Use devres functions whenever possible to allocate resources. For rationale | ||
74 | and supported functions, please see Documentation/driver-model/devres.txt. | ||
75 | |||
73 | * If the driver has a detect function, make sure it is silent. Debug messages | 76 | * If the driver has a detect function, make sure it is silent. Debug messages |
74 | and messages printed after a successful detection are acceptable, but it | 77 | and messages printed after a successful detection are acceptable, but it |
75 | must not print messages such as "Chip XXX not found/supported". | 78 | must not print messages such as "Chip XXX not found/supported". |