File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -706,7 +706,7 @@ static int cros_ec_ishtp_reset(struct ishtp_cl_device *cl_device)
706
706
*/
707
707
static int __maybe_unused cros_ec_ishtp_suspend (struct device * device )
708
708
{
709
- struct ishtp_cl_device * cl_device = dev_get_drvdata (device );
709
+ struct ishtp_cl_device * cl_device = ishtp_dev_to_cl_device (device );
710
710
struct ishtp_cl * cros_ish_cl = ishtp_get_drvdata (cl_device );
711
711
struct ishtp_cl_data * client_data = ishtp_get_client_data (cros_ish_cl );
712
712
@@ -721,7 +721,7 @@ static int __maybe_unused cros_ec_ishtp_suspend(struct device *device)
721
721
*/
722
722
static int __maybe_unused cros_ec_ishtp_resume (struct device * device )
723
723
{
724
- struct ishtp_cl_device * cl_device = dev_get_drvdata (device );
724
+ struct ishtp_cl_device * cl_device = ishtp_dev_to_cl_device (device );
725
725
struct ishtp_cl * cros_ish_cl = ishtp_get_drvdata (cl_device );
726
726
struct ishtp_cl_data * client_data = ishtp_get_client_data (cros_ish_cl );
727
727
You can’t perform that action at this time.
0 commit comments