mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
Revert "device property: Add cleanup.h based fwnode_handle_put() scope based cleanup."
This reverts commit da1097f8d9 which is
commit 59ed5e2d505bf5f9b4af64d0021cd0c96aec1f7c upstream.
It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.
Bug: 161946584
Change-Id: I66b99de3aa72fc7123d648a01767cf871e64a25b
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
#define _LINUX_PROPERTY_H_
|
||||
|
||||
#include <linux/bits.h>
|
||||
#include <linux/cleanup.h>
|
||||
#include <linux/fwnode.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
@@ -125,8 +124,6 @@ struct fwnode_handle *device_get_named_child_node(const struct device *dev,
|
||||
struct fwnode_handle *fwnode_handle_get(struct fwnode_handle *fwnode);
|
||||
void fwnode_handle_put(struct fwnode_handle *fwnode);
|
||||
|
||||
DEFINE_FREE(fwnode_handle, struct fwnode_handle *, fwnode_handle_put(_T))
|
||||
|
||||
int fwnode_irq_get(const struct fwnode_handle *fwnode, unsigned int index);
|
||||
int fwnode_irq_get_byname(const struct fwnode_handle *fwnode, const char *name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user