1. 28 6月, 2016 40 次提交
    • D
      clocksource/drivers/keystone: Convert init function to return error · 53186505
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NSantosh Shilimkar <ssantosh@kernel.org>
      53186505
    • D
      clocksource/drivers/integrator-ap: Convert init function to return error · 76804d05
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      76804d05
    • D
      clocksource/drivers/imx-gpt: Convert init function to return error · c11cd416
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      c11cd416
    • D
      clocksource/drivers/prima2: Convert init function to return error · de23484d
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      de23484d
    • D
      clocksource/drivers/atmel-st: Convert init function to return error · adbaf525
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      adbaf525
    • D
      clocksource/drivers/atmel-pit: Convert init function to return error · 504f34c9
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      504f34c9
    • D
      clocksource/drivers/atlas7: Convert init function to return error · c41c96dd
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      c41c96dd
    • D
      clocksource/drivers/pistachio: Convert init function to return error · 41505a20
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      41505a20
    • D
      clocksource/drivers/orion: Convert init function to return error · fbe4b356
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      fbe4b356
    • D
      clocksource/drivers/time-lpc32xx: Convert init function to return error · 4e2afeb9
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NSylvain Lemieux <slemieux.tyco@gmail.com>
      4e2afeb9
    • D
      clocksource/drivers/time-efm32: Convert init function to return error · dc501113
      Daniel Lezcano 提交于
      The init functions do not return any error and let the caller unaware of
      the state of the system.
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      dc501113
    • D
      clocksource/drivers/time-armada-370-xp: Convert init function to return error · 12549e27
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      12549e27
    • D
      clocksource/drivers/tegra20: Convert init function to return error · 53978bba
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
          make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      53978bba
    • D
      clocksource/drivers/tango_xtal: Convert init function to return error · 0683d503
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and leave the caller unaware of the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just returns an error code from the init function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
      0683d503
    • D
      clocksource/drivers/sun4i: Convert init function to return error · ce5dc743
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      ce5dc743
    • D
      clocksource/drivers/samsung_pwm: Convert init function to return error · 0993f57b
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      0993f57b
    • D
      clocksource/drivers/qcom: Convert init function to return error · ab51189c
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      ab51189c
    • D
      clocksource/drivers/pxa: Convert init function to return error · be3aff84
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      be3aff84
    • D
      clocksource/drivers/nomadik-mtu: Convert init function to return error · e46105af
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      e46105af
    • D
      clocksource/drivers/mxs: Convert init function to return error · e1d2b9f0
      Daniel Lezcano 提交于
      The init function does not return any error, it prints a message, returns and
      lets the caller unaware if the state of the system.
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      e1d2b9f0
    • D
      clocksource/drivers/mps2-timer: Convert init function to return error · 0cc7afc6
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NLiviu Dudau <Liviu.Dudau@arm.com>
      0cc7afc6
    • D
      clocksource/drivers/moxart: Convert init function to return error · b7357e65
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      b7357e65
    • D
      clocksource/drivers/mips-gic-timer: Convert init function to return error · d8152bf8
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      d8152bf8
    • D
      clocksource/drivers/meson6_timer.c: Convert init function to return error · ca46acb9
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      ca46acb9
    • D
      clocksource/drivers/h8300_tpu: Convert init function to return error · f2f9900c
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      f2f9900c
    • D
      clocksource/drivers/h8300_timer8: Convert init function to return error · 691f8f87
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      691f8f87
    • D
      clocksource/drivers/h8300_timer16: Convert init function to return error · eacf2091
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      eacf2091
    • D
      clocksource/drivers/arm_global_timer: Convert init function to return error · 5a54c187
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NMaxime Coquelin <maxime.coquelin@st.com>
      5a54c187
    • D
      clocksource/drivers/arm_arch_timer: Convert init function to return error · 3c0731db
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      3c0731db
    • D
      clocksource/drivers/fsl_ftm_timer: Convert init function to return error · 17c8669d
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      17c8669d
    • D
      clocksource/drivers/clksrc-dbx500: Convert init function to return error · 108a4ed9
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      108a4ed9
    • D
      clocksource/drivers/bcm_kona: Convert init function to return error · 59519774
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NRay Jui <ray.jui@broadcom.com>
      59519774
    • D
      clocksource/drivers/bcm2835_timer: Convert init function to return error · 524a7f08
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
       - panic, thus leading to a kernel crash while another timer may work and
         make the system boot up correctly
      
       or
      
       - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NEric Anholt <eric@anholt.net>
      524a7f08
    • D
      clocksource/drivers/armv7m_systick: Convert init function to return error · 802fa498
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
       - panic, thus leading to a kernel crash while another timer may work and
         make the system boot up correctly
      
       or
      
       - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NMaxime Coquelin <maxime.coquelin@st.com>
      802fa498
    • D
      clocksource/drivers/digicolor: Convert init function to return error · c77b9d44
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NBaruch Siach <baruch@tkos.co.il>
      c77b9d44
    • D
      clocksource/drivers/clps711x: Convert init function to return error · 04410efb
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
        - panic, thus leading to a kernel crash while another timer may work and
             make the system boot up correctly
      
        or
      
        - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      04410efb
    • D
      clocksource/drivers/dw_apb_timer: Convert init function to return error · 2e1773f8
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
       - panic, thus leading to a kernel crash while another timer may work and
         make the system boot up correctly
      
       or
      
       - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      2e1773f8
    • D
      clocksource/drivers/st_lpc: Convert init function to return error · 84309e0a
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
       - panic, thus leading to a kernel crash while another timer may work and
         make the system boot up correctly
      
       or
      
       - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NPatrice Chotard <patrice.chotard@st.com>
      Acked-by: NMaxime Coquelin <maxime.coquelin@st.com>
      84309e0a
    • D
      clocksource/drivers/cadence_ttc: Convert init function to return error · 70504f31
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
       - panic, thus leading to a kernel crash while another timer may work and
         make the system boot up correctly
      
       or
      
       - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NSören Brinkmann <soren.brinkmann@xilinx.com>
      70504f31
    • D
      clocksource/drivers/asm9260: Convert init function to return error · be5eb33d
      Daniel Lezcano 提交于
      The init functions do not return any error. They behave as the following:
      
       - panic, thus leading to a kernel crash while another timer may work and
         make the system boot up correctly
      
       or
      
       - print an error and let the caller unaware if the state of the system
      
      Change that by converting the init functions to return an error conforming
      to the CLOCKSOURCE_OF_RET prototype.
      
      Proper error handling (rollback, errno value) will be changed later case
      by case, thus this change just return back an error or success in the init
      function.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      be5eb33d