Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271385
b: refs/heads/master
c: 7fbf1bb
h: refs/heads/master
i:
  271383: 7404741
v: v3
  • Loading branch information
Tomi Valkeinen committed Sep 30, 2011
1 parent 40bf072 commit 6ba5f58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e3a26aecc0ea5ce1c2bd567439d66a0699ea7774
refs/heads/master: 7fbf1bb02d1005203e39ca7bd7aa7afcd2909c4b
6 changes: 2 additions & 4 deletions trunk/drivers/video/omap2/omapfb/omapfb-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,14 @@ static ssize_t store_mirror(struct device *dev,
{
struct fb_info *fbi = dev_get_drvdata(dev);
struct omapfb_info *ofbi = FB2OFB(fbi);
int mirror;
bool mirror;
int r;
struct fb_var_screeninfo new_var;

r = kstrtoint(buf, 0, &mirror);
r = strtobool(buf, &mirror);
if (r)
return r;

mirror = !!mirror;

if (!lock_fb_info(fbi))
return -ENODEV;

Expand Down

0 comments on commit 6ba5f58

Please sign in to comment.