Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187167
b: refs/heads/master
c: 2365dfe
h: refs/heads/master
i:
  187165: 1e8a357
  187163: bb033f6
  187159: 8a9b5d4
  187151: 87bbefa
  187135: 4abfb74
v: v3
  • Loading branch information
Florian Tobias Schandinat authored and Linus Torvalds committed Mar 12, 2010
1 parent e57e9a9 commit 37eaa85
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 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: cc8b82f8c80e8b9e212e0102ee7af9972829e45c
refs/heads/master: 2365dfe99495159b3395dd0eddece2f0d58f527a
12 changes: 0 additions & 12 deletions trunk/drivers/video/via/via_utility.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,15 +239,3 @@ void viafb_get_gamma_support_state(int bpp, unsigned int *support_state)
else
*support_state = CRT_Device | DVI_Device | LCD_Device;
}

int viafb_input_parameter_converter(int parameter_value)
{
int result;

if (parameter_value >= 1 && parameter_value <= 9)
result = 1 << (parameter_value - 1);
else
result = 1;

return result;
}
1 change: 0 additions & 1 deletion trunk/drivers/video/via/via_utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@ bool viafb_lcd_get_support_expand_state(u32 xres, u32 yres);
void viafb_set_gamma_table(int bpp, unsigned int *gamma_table);
void viafb_get_gamma_table(unsigned int *gamma_table);
void viafb_get_gamma_support_state(int bpp, unsigned int *support_state);
int viafb_input_parameter_converter(int parameter_value);

#endif /* __VIAUTILITY_H__ */

0 comments on commit 37eaa85

Please sign in to comment.