Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | Bjorn Andersson <> | Date | Wed, 31 Jan 2024 19:07:27 -0800 | Subject | [PATCH v4 2/3] HID: i2c-hid-of: Remove comment about post-reset in DT binding |
| |
With the "post-reset-deassert-delay-ms" property added to the DeviceTree binding, the comment is no longer valid, remove it.
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> --- drivers/hid/i2c-hid/i2c-hid-of.c | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/drivers/hid/i2c-hid/i2c-hid-of.c b/drivers/hid/i2c-hid/i2c-hid-of.c index c4e1fa0273c8..bbc2afb86eb6 100644 --- a/drivers/hid/i2c-hid/i2c-hid-of.c +++ b/drivers/hid/i2c-hid/i2c-hid-of.c @@ -104,11 +104,6 @@ static int i2c_hid_of_probe(struct i2c_client *client) if (!device_property_read_u32(dev, "post-power-on-delay-ms", &val)) ihid_of->post_power_delay_ms = val; - /* - * Note this is a kernel internal device-property set by x86 platform code, - * this MUST not be used in devicetree files without first adding it to - * the DT bindings. - */ if (!device_property_read_u32(dev, "post-reset-deassert-delay-ms", &val)) ihid_of->post_reset_delay_ms = val; -- 2.25.1
| ![\](/images/icornerr.gif) |