Skip to content

Commit 13fba8e

Browse files
masahir0ypH5
authored andcommitted
reset: remove reset_control_get(_optional)
No more users of these two. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent dfc1d9b commit 13fba8e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

include/linux/reset.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -344,18 +344,6 @@ devm_reset_control_get_shared_by_index(struct device *dev, int index)
344344
* These inline function calls will be removed once all consumers
345345
* have been moved over to the new explicit API.
346346
*/
347-
static inline struct reset_control *reset_control_get(
348-
struct device *dev, const char *id)
349-
{
350-
return reset_control_get_exclusive(dev, id);
351-
}
352-
353-
static inline struct reset_control *reset_control_get_optional(
354-
struct device *dev, const char *id)
355-
{
356-
return reset_control_get_optional_exclusive(dev, id);
357-
}
358-
359347
static inline struct reset_control *of_reset_control_get(
360348
struct device_node *node, const char *id)
361349
{

0 commit comments

Comments
 (0)