~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to include/linux/hwmon-vid.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
                return ((val >= 1100) && (val <= 1850) ?
39
39
                        ((18499 - val * 10) / 25 + 5) / 10 : -1);
40
40
        default:
41
 
                return -1;
 
41
                return -EINVAL;
42
42
        }
43
43
}
44
44