Date:2010-07-08 15:51:57 (13 years 5 months ago)
Author:Lars C.
Commit:3416c25a3838d9755c214700ef75f1929bb735e7
Message:jz4740: PWM: Fix error codes returned when no pwm device is found

Files: arch/mips/jz4740/pwm.c (1 diff)

Change Details

arch/mips/jz4740/pwm.c
4949    struct pwm_device *pwm;
5050
5151    if (id < 2 || id > 7 || !jz4740_pwm_clk)
52        return ERR_PTR(-ENOENT);
52        return ERR_PTR(-ENODEV);
5353
5454    mutex_lock(&jz4740_pwm_mutex);
5555

Archive Download the corresponding diff file



interactive