Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375478
b: refs/heads/master
c: d1fd3dd
h: refs/heads/master
v: v3
  • Loading branch information
Kees Cook authored and Dave Airlie committed May 10, 2013
1 parent 8b16d6e commit a087a4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: ebbd97ad885c3c41f56a5f81c27b1ea8156a0f07
refs/heads/master: d1fd3ddc469b576e36184f2bd02c0301d80118d3
6 changes: 1 addition & 5 deletions trunk/drivers/gpu/drm/drm_encoder_slave.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,12 @@ int drm_i2c_encoder_init(struct drm_device *dev,
struct i2c_adapter *adap,
const struct i2c_board_info *info)
{
char modalias[sizeof(I2C_MODULE_PREFIX)
+ I2C_NAME_SIZE];
struct module *module = NULL;
struct i2c_client *client;
struct drm_i2c_encoder_driver *encoder_drv;
int err = 0;

snprintf(modalias, sizeof(modalias),
"%s%s", I2C_MODULE_PREFIX, info->type);
request_module(modalias);
request_module("%s%s", I2C_MODULE_PREFIX, info->type);

client = i2c_new_device(adap, info);
if (!client) {
Expand Down

0 comments on commit a087a4c

Please sign in to comment.