i2c: Remove support for dangling device properties
From now on only accepting complete software nodes. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
committed by
Wolfram Sang
parent
9d383e9644
commit
4b2b4cc50b
@@ -391,7 +391,6 @@ static inline bool i2c_detect_slave_mode(struct device *dev) { return false; }
|
||||
* @platform_data: stored in i2c_client.dev.platform_data
|
||||
* @of_node: pointer to OpenFirmware device node
|
||||
* @fwnode: device node supplied by the platform firmware
|
||||
* @properties: Deprecated - use swnode instead
|
||||
* @swnode: software node for the device
|
||||
* @resources: resources associated with the device
|
||||
* @num_resources: number of resources in the @resources array
|
||||
@@ -416,7 +415,6 @@ struct i2c_board_info {
|
||||
void *platform_data;
|
||||
struct device_node *of_node;
|
||||
struct fwnode_handle *fwnode;
|
||||
const struct property_entry *properties;
|
||||
const struct software_node *swnode;
|
||||
const struct resource *resources;
|
||||
unsigned int num_resources;
|
||||
|
||||
Reference in New Issue
Block a user