From: Ben Skeggs <skeggsb@gmail.com>
To: Oscar Salvador <osalvador.vilardaga@gmail.com>,
nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v8 0/5] replace hwmon_device_register for hwmon_device_register_with_info
Date: Sat, 20 May 2017 00:49:18 +1000 [thread overview]
Message-ID: <7dbbc88e-198d-bc01-bc41-a2c31207f0cb@gmail.com> (raw)
In-Reply-To: <1495142678-7734-1-git-send-email-osalvador.vilardaga@gmail.com>
On 05/19/2017 07:24 AM, Oscar Salvador wrote:
> This v8 fixes removes dummy functions which only had a return and moves the code
> into the switch statements.
Merged. Thank you!
>
> Versions:
>
> v1 -> v2:
> * Keep temp attrs as read only
> v2 -> v3:
> * Code fix-ups: struct and string as const and add return within switch
> due to fallthrough
> * Add Signed-off-by to all commits
> v3 -> v4:
> * Rever const to struct attribute. Kbuild complains.
> v4 -> v5:
> * Drops a check for attr_set in "nouveau_temp_is_visible".
> v5 -> v6:
> * Change to nouveau/hwmon all commit titles
> * Drop author change
> * Coding-Style
> * Move the check before the switch in nouveau_power_is_visible function
> * Expose temperature attrs as RW again
> * Get rid of nouveau_hwmon_set_pwm1/_enable and implement the code inside
> nouveau_pwm_write
> * Get rid of nouveau_hwmon_set_temp_* and implement the code inside
> nouveau_temp_write
> v6 -> v7:
> * Got rid of all dummy functions that only had a return, and moved
> code into the switch statements.
> v7 -> v8:
> * Fix warnings
>
> This patchseries replaces the deprecated hwmon_device_register function with the
> new one hwmon_device_register_with_info.
> It also does some cleanup.
>
> Oscar Salvador (5):
> nouveau/hwmon: Add config for all sensors and their settings
> nouveau/hwmon: Add nouveau_hwmon_ops structure with
> .is_visible/.read_string
> nouveau/hwmon: Remove old code, add .write/.read operations
> nouveau/hwmon: expose the auto_point and pwm_min/max attrs
> nouveau/hwmon: Change permissions to numeric
>
> drivers/gpu/drm/nouveau/nouveau_hwmon.c | 983 +++++++++++++++-----------------
> 1 file changed, 464 insertions(+), 519 deletions(-)
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2017-05-19 14:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-18 21:24 [PATCH v8 0/5] replace hwmon_device_register for hwmon_device_register_with_info Oscar Salvador
2017-05-18 21:24 ` [PATCH v8 1/5] nouveau/hwmon: Add config for all sensors and their settings Oscar Salvador
2017-05-18 21:24 ` [PATCH v8 2/5] nouveau/hwmon: Add nouveau_hwmon_ops structure with .is_visible/.read_string Oscar Salvador
[not found] ` <1495142678-7734-3-git-send-email-osalvador.vilardaga-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-05-28 0:29 ` kbuild test robot
[not found] ` <1495142678-7734-1-git-send-email-osalvador.vilardaga-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-05-18 21:24 ` [PATCH v8 3/5] nouveau/hwmon: Remove old code, add .write/.read operations Oscar Salvador
2017-05-18 21:24 ` [PATCH v8 5/5] nouveau/hwmon: Change permissions to numeric Oscar Salvador
2017-05-18 21:24 ` [PATCH v8 4/5] nouveau/hwmon: expose the auto_point and pwm_min/max attrs Oscar Salvador
2017-05-19 14:49 ` Ben Skeggs [this message]
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=7dbbc88e-198d-bc01-bc41-a2c31207f0cb@gmail.com \
--to=skeggsb@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=nouveau@lists.freedesktop.org \
--cc=osalvador.vilardaga@gmail.com \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).