xref: /linux/rust/helpers/device.c (revision b76bca66ec3de25c3e700b7f5c37dc0c9de1e51a)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <linux/device.h>
4 
5 int rust_helper_devm_add_action(struct device *dev,
6 				void (*action)(void *),
7 				void *data)
8 {
9 	return devm_add_action(dev, action, data);
10 }
11