]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'staging/staging-next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 04:59:58 +0000 (14:59 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 04:59:58 +0000 (14:59 +1000)
14 files changed:
1  2 
drivers/iio/adc/at91_adc.c
drivers/staging/android/binder.c
drivers/staging/et131x/et131x.c
drivers/staging/iio/accel/lis3l02dq_ring.c
drivers/staging/iio/adc/ad7192.c
drivers/staging/iio/gyro/adis16260_core.c
drivers/staging/iio/imu/adis16400_core.c
drivers/staging/iio/meter/ade7753.c
drivers/staging/iio/meter/ade7754.c
drivers/staging/iio/meter/ade7759.c
drivers/staging/ipack/devices/ipoctal.c
drivers/staging/serqt_usb2/serqt_usb2.c
drivers/staging/vt6656/dpc.c
drivers/staging/vt6656/rxtx.c

index 3bd5540238a7e6d683fd903cfacc14c8b05b92d5,c1e4690f188d200830d3c4aa22350ba2e9e1885c..ffa7726852bc3f873feddaa10512a0667daad8e1
@@@ -602,22 -589,17 +589,17 @@@ static int __devinit at91_adc_probe(str
                goto error_free_irq;
        }
  
-       ret = clk_prepare(st->clk);
+       ret = clk_prepare_enable(st->clk);
        if (ret) {
-               dev_err(&pdev->dev, "Could not prepare the clock.\n");
-               goto error_free_clk;
-       }
-       ret = clk_enable(st->clk);
-       if (ret) {
-               dev_err(&pdev->dev, "Could not enable the clock.\n");
-               goto error_unprepare_clk;
+               dev_err(&pdev->dev,
+                       "Could not prepare or enable the clock.\n");
+               goto error_free_irq;
        }
  
-       st->adc_clk = clk_get(&pdev->dev, "adc_op_clk");
+       st->adc_clk = devm_clk_get(&pdev->dev, "adc_op_clk");
        if (IS_ERR(st->adc_clk)) {
                dev_err(&pdev->dev, "Failed to get the ADC clock.\n");
 -              ret = PTR_ERR(st->clk);
 +              ret = PTR_ERR(st->adc_clk);
                goto error_disable_clk;
        }
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index a68d981c259fe6eb517d85df0667f7d9cad7c96a,c94a9dffd1e5cf2fbcb70a81ff07c4ce43501866..aaf8fce4911ea0a3022bd0add2cbb1256f2ecdea
@@@ -617,18 -599,18 +599,18 @@@ static void ipoctal_set_termios(struct 
        struct ipoctal *ipoctal = tty->driver_data;
        speed_t baud;
  
 -      cflag = tty->termios->c_cflag;
 +      cflag = tty->termios.c_cflag;
  
        /* Disable and reset everything before change the setup */
-       ipoctal_write_io_reg(ipoctal, &ipoctal->chan_regs[channel].u.w.cr,
+       ipoctal_write_io_reg(ipoctal, &ipoctal->chan_regs[channel].w.cr,
                             CR_DISABLE_RX | CR_DISABLE_TX);
-       ipoctal_write_cr_cmd(ipoctal, &ipoctal->chan_regs[channel].u.w.cr,
+       ipoctal_write_cr_cmd(ipoctal, &ipoctal->chan_regs[channel].w.cr,
                             CR_CMD_RESET_RX);
-       ipoctal_write_cr_cmd(ipoctal, &ipoctal->chan_regs[channel].u.w.cr,
+       ipoctal_write_cr_cmd(ipoctal, &ipoctal->chan_regs[channel].w.cr,
                             CR_CMD_RESET_TX);
-       ipoctal_write_cr_cmd(ipoctal, &ipoctal->chan_regs[channel].u.w.cr,
+       ipoctal_write_cr_cmd(ipoctal, &ipoctal->chan_regs[channel].w.cr,
                             CR_CMD_RESET_ERR_STATUS);
-       ipoctal_write_cr_cmd(ipoctal, &ipoctal->chan_regs[channel].u.w.cr,
+       ipoctal_write_cr_cmd(ipoctal, &ipoctal->chan_regs[channel].w.cr,
                             CR_CMD_RESET_MR);
  
        /* Set Bits per chars */
Simple merge
Simple merge