Loading drivers/platform/msm/ssm.c +1 −8 Original line number Diff line number Diff line Loading @@ -249,7 +249,6 @@ static int ssm_load_app(struct ssm_driver *ssm) static struct ssm_platform_data *populate_ssm_pdata(struct device *dev) { struct ssm_platform_data *pdata; int rc; pdata = devm_kzalloc(dev, sizeof(struct ssm_platform_data), GFP_KERNEL); Loading @@ -259,12 +258,6 @@ static struct ssm_platform_data *populate_ssm_pdata(struct device *dev) pdata->need_key_exchg = of_property_read_bool(dev->of_node, "qcom,need-keyexhg"); rc = of_property_read_string(dev->of_node, "qcom,channel-name", &pdata->channel_name); if (rc && rc != -EINVAL) { dev_err(dev, "Error reading channel_name property %d\n", rc); return NULL; } else if (rc == -EINVAL) pdata->channel_name = CHANNEL_NAME; return pdata; Loading drivers/platform/msm/ssm.h +3 −3 Original line number Diff line number Diff line /* Copyright (c) 2013, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -64,7 +64,7 @@ __packed struct tzapp_mode_enc_rsp { uint32_t tzapp_ssm_cmd; uint8_t enc_mode_info[ENC_MODE_MAX_SIZE]; uint32_t enc_mode_len; long status; uint32_t status; }; /* tzapp get mode request.*/ Loading @@ -77,7 +77,7 @@ __packed struct tzapp_get_mode_info_rsp { uint32_t tzapp_ssm_cmd; uint8_t enc_mode_info[ENC_MODE_MAX_SIZE]; uint32_t enc_mode_len; long status; uint32_t status; }; /* Modem/SSM packet format.*/ Loading Loading
drivers/platform/msm/ssm.c +1 −8 Original line number Diff line number Diff line Loading @@ -249,7 +249,6 @@ static int ssm_load_app(struct ssm_driver *ssm) static struct ssm_platform_data *populate_ssm_pdata(struct device *dev) { struct ssm_platform_data *pdata; int rc; pdata = devm_kzalloc(dev, sizeof(struct ssm_platform_data), GFP_KERNEL); Loading @@ -259,12 +258,6 @@ static struct ssm_platform_data *populate_ssm_pdata(struct device *dev) pdata->need_key_exchg = of_property_read_bool(dev->of_node, "qcom,need-keyexhg"); rc = of_property_read_string(dev->of_node, "qcom,channel-name", &pdata->channel_name); if (rc && rc != -EINVAL) { dev_err(dev, "Error reading channel_name property %d\n", rc); return NULL; } else if (rc == -EINVAL) pdata->channel_name = CHANNEL_NAME; return pdata; Loading
drivers/platform/msm/ssm.h +3 −3 Original line number Diff line number Diff line /* Copyright (c) 2013, The Linux Foundation. All rights reserved. /* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -64,7 +64,7 @@ __packed struct tzapp_mode_enc_rsp { uint32_t tzapp_ssm_cmd; uint8_t enc_mode_info[ENC_MODE_MAX_SIZE]; uint32_t enc_mode_len; long status; uint32_t status; }; /* tzapp get mode request.*/ Loading @@ -77,7 +77,7 @@ __packed struct tzapp_get_mode_info_rsp { uint32_t tzapp_ssm_cmd; uint8_t enc_mode_info[ENC_MODE_MAX_SIZE]; uint32_t enc_mode_len; long status; uint32_t status; }; /* Modem/SSM packet format.*/ Loading