File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,6 @@ enum i2c_driver_flags {
237
237
* struct i2c_driver - represent an I2C device driver
238
238
* @class: What kind of i2c device we instantiate (for detect)
239
239
* @probe: Callback for device binding
240
- * @probe_new: Transitional callback for device binding - do not use
241
240
* @remove: Callback for device unbinding
242
241
* @shutdown: Callback for device shutdown
243
242
* @alert: Alert callback, for example for the SMBus alert protocol
@@ -272,16 +271,8 @@ enum i2c_driver_flags {
272
271
struct i2c_driver {
273
272
unsigned int class ;
274
273
275
- union {
276
274
/* Standard driver model interfaces */
277
- int (* probe )(struct i2c_client * client );
278
- /*
279
- * Legacy callback that was part of a conversion of .probe().
280
- * Today it has the same semantic as .probe(). Don't use for new
281
- * code.
282
- */
283
- int (* probe_new )(struct i2c_client * client );
284
- };
275
+ int (* probe )(struct i2c_client * client );
285
276
void (* remove )(struct i2c_client * client );
286
277
287
278
You can’t perform that action at this time.
0 commit comments