From: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> To: <ath10k@lists.infradead.org> Cc: <linux-wireless@vger.kernel.org>, Rajkumar Manoharan <rmanohar@qti.qualcomm.com> Subject: [PATCH 2/3] ath10k: fix wrong symlink name on error path Date: Fri, 20 Feb 2015 18:34:11 +0530 [thread overview] Message-ID: <1424437452-28161-2-git-send-email-rmanohar@qti.qualcomm.com> (raw) In-Reply-To: <1424437452-28161-1-git-send-email-rmanohar@qti.qualcomm.com> Wrong symlink name is used on error path of thermal registration and also correcting the error message. Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/thermal.c b/drivers/net/wireless/ath/ath10k/thermal.c index 8992c17..7c54bb1 100644 --- a/drivers/net/wireless/ath/ath10k/thermal.c +++ b/drivers/net/wireless/ath/ath10k/thermal.c @@ -243,7 +243,7 @@ int ath10k_thermal_register(struct ath10k *ar) ret = sysfs_create_link(&ar->dev->kobj, &cdev->device.kobj, "cooling_device"); if (ret) { - ath10k_err(ar, "failed to create thermal symlink\n"); + ath10k_err(ar, "failed to create cooling device symlink\n"); goto err_cooling_destroy; } @@ -281,7 +281,7 @@ int ath10k_thermal_register(struct ath10k *ar) err_remove_file: sysfs_remove_file(&ar->dev->kobj, &dev_attr_quiet_period.attr); err_remove_link: - sysfs_remove_link(&ar->dev->kobj, "thermal_sensor"); + sysfs_remove_link(&ar->dev->kobj, "cooling_device"); err_cooling_destroy: thermal_cooling_device_unregister(cdev); return ret; -- 2.3.0
WARNING: multiple messages have this Message-ID (diff)
From: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Rajkumar Manoharan <rmanohar@qti.qualcomm.com> Subject: [PATCH 2/3] ath10k: fix wrong symlink name on error path Date: Fri, 20 Feb 2015 18:34:11 +0530 [thread overview] Message-ID: <1424437452-28161-2-git-send-email-rmanohar@qti.qualcomm.com> (raw) In-Reply-To: <1424437452-28161-1-git-send-email-rmanohar@qti.qualcomm.com> Wrong symlink name is used on error path of thermal registration and also correcting the error message. Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/thermal.c b/drivers/net/wireless/ath/ath10k/thermal.c index 8992c17..7c54bb1 100644 --- a/drivers/net/wireless/ath/ath10k/thermal.c +++ b/drivers/net/wireless/ath/ath10k/thermal.c @@ -243,7 +243,7 @@ int ath10k_thermal_register(struct ath10k *ar) ret = sysfs_create_link(&ar->dev->kobj, &cdev->device.kobj, "cooling_device"); if (ret) { - ath10k_err(ar, "failed to create thermal symlink\n"); + ath10k_err(ar, "failed to create cooling device symlink\n"); goto err_cooling_destroy; } @@ -281,7 +281,7 @@ int ath10k_thermal_register(struct ath10k *ar) err_remove_file: sysfs_remove_file(&ar->dev->kobj, &dev_attr_quiet_period.attr); err_remove_link: - sysfs_remove_link(&ar->dev->kobj, "thermal_sensor"); + sysfs_remove_link(&ar->dev->kobj, "cooling_device"); err_cooling_destroy: thermal_cooling_device_unregister(cdev); return ret; -- 2.3.0 _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k
next prev parent reply other threads:[~2015-02-20 13:05 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-02-20 13:04 [PATCH 1/3] ath10k: add sysfs entry to configure quiet period Rajkumar Manoharan 2015-02-20 13:04 ` Rajkumar Manoharan 2015-02-20 13:04 ` Rajkumar Manoharan [this message] 2015-02-20 13:04 ` [PATCH 2/3] ath10k: fix wrong symlink name on error path Rajkumar Manoharan 2015-03-12 13:00 ` Kalle Valo 2015-03-12 13:00 ` Kalle Valo 2015-03-15 8:24 ` Rajkumar Manoharan 2015-03-15 8:24 ` Rajkumar Manoharan 2015-02-20 13:04 ` [PATCH 3/3] ath10k: add symlink for hwmon device Rajkumar Manoharan 2015-02-20 13:04 ` Rajkumar Manoharan 2015-03-10 15:39 ` Kalle Valo 2015-03-10 15:39 ` Kalle Valo 2015-03-10 16:42 ` Rajkumar Manoharan 2015-03-10 16:42 ` Rajkumar Manoharan 2015-03-12 13:20 ` Kalle Valo 2015-03-12 13:20 ` Kalle Valo 2015-03-12 13:46 ` Rajkumar Manoharan 2015-03-12 13:46 ` Rajkumar Manoharan 2015-03-10 15:43 ` [PATCH 1/3] ath10k: add sysfs entry to configure quiet period Kalle Valo 2015-03-10 15:43 ` Kalle Valo 2015-03-10 16:53 ` Rajkumar Manoharan 2015-03-10 16:53 ` Rajkumar Manoharan 2015-03-12 13:21 ` Kalle Valo 2015-03-12 13:21 ` Kalle Valo 2015-03-12 13:50 ` Rajkumar Manoharan 2015-03-12 13:50 ` Rajkumar Manoharan
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1424437452-28161-2-git-send-email-rmanohar@qti.qualcomm.com \ --to=rmanohar@qti.qualcomm.com \ --cc=ath10k@lists.infradead.org \ --cc=linux-wireless@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.