projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
331255d
)
hwmon: (f75375s) Make pwm*_mode writable for the F75387
author
Nikolaus Schulz
<mail@microschulz.de>
Tue, 28 Feb 2012 21:15:52 +0000
(22:15 +0100)
committer
Guenter Roeck
<guenter.roeck@ericsson.com>
Tue, 28 Feb 2012 22:44:02 +0000
(14:44 -0800)
Signed-off-by: Nikolaus Schulz <mail@microschulz.de>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/f75375s.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/f75375s.c
b/drivers/hwmon/f75375s.c
index 61cc9c396a9872920a9db553e6c0bd5ca3ebde18..eb648d9c91d6890f5335dc3ffc31e548beaf2955 100644
(file)
--- a/
drivers/hwmon/f75375s.c
+++ b/
drivers/hwmon/f75375s.c
@@
-795,7
+795,7
@@
static int f75375_probe(struct i2c_client *client,
if (err)
goto exit_free;
- if (data->kind
== f75375
) {
+ if (data->kind
!= f75373
) {
err = sysfs_chmod_file(&client->dev.kobj,
&sensor_dev_attr_pwm1_mode.dev_attr.attr,
S_IRUGO | S_IWUSR);