summaryrefslogtreecommitdiff
path: root/rust/helpers/device.c
blob: b2135c6686b027cf4756dc308d841ec6fa782bad (plain)
1
2
3
4
5
6
7
8
9
10
// SPDX-License-Identifier: GPL-2.0

#include <linux/device.h>

int rust_helper_devm_add_action(struct device *dev,
				void (*action)(void *),
				void *data)
{
	return devm_add_action(dev, action, data);
}