Skip to content

Commit

Permalink
gma500: tidy the mrst files
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Jul 8, 2011
1 parent 0cf0db5 commit e913972
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/gma500/mrst_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ int mrst_backlight_init(struct drm_device *dev)

mrst_backlight_device = backlight_device_register("mrst-bl",
NULL, (void *)dev, &mrst_ops, &props);

if (IS_ERR(mrst_backlight_device))
return PTR_ERR(mrst_backlight_device);

Expand Down Expand Up @@ -367,7 +367,7 @@ const struct psb_ops mrst_chip_ops = {
#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE
.backlight_init = mrst_backlight_init,
#endif

.init_pm = mrst_init_pm,
.save_regs = mrst_save_display_registers,
.restore_regs = mrst_restore_display_registers,
Expand Down

0 comments on commit e913972

Please sign in to comment.