1. 28 Jun, 2016 40 commits
    • Daniel Lezcano's avatar
      clocksource/drivers/nps: Convert init function to return error · 2d9b6506
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      2d9b6506
    • Daniel Lezcano's avatar
      clocksource/drivers/smp_twd: Convert init function to return error · dcbc0edd
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      dcbc0edd
    • Daniel Lezcano's avatar
      clocksource/drivers/nios2: Convert init function to return error · dd1364a7
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      dd1364a7
    • Daniel Lezcano's avatar
      clocksource/drivers/ralink: Convert init function to return error · 2712616f
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      2712616f
    • Daniel Lezcano's avatar
      clocksource/drivers/microblaze: Convert init function to return error · 05864217
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      05864217
    • Daniel Lezcano's avatar
      clocksource/drivers/zevio: Convert init function to return error · 42452508
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      42452508
    • Daniel Lezcano's avatar
      clocksource/drivers/vt8500: Convert init function to return error · 979d7f28
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      979d7f28
    • Daniel Lezcano's avatar
      clocksource/drivers/vf_pit_timer: Convert init function to return error · b71306e6
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      b71306e6
    • Daniel Lezcano's avatar
      clocksource/drivers/versatile: Convert init function to return error · 86de9628
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: default avatarLiviu Dudau <Liviu.Dudau@arm.com>
      86de9628
    • Daniel Lezcano's avatar
      clocksource/drivers/u300: Convert init function to return error · 1ee078fa
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      1ee078fa
    • Daniel Lezcano's avatar
      clocksource/drivers/ti-32k: Convert init function to return error · 0a8e7d49
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      0a8e7d49
    • Daniel Lezcano's avatar
      clocksource/drivers/sun5i: Convert init function to return error · e4d9f2ee
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      e4d9f2ee
    • Daniel Lezcano's avatar
      clocksource/drivers/stm32: Convert init function to return error · 38d94c5a
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: default avatarMaxime Coquelin <mcoquelin.stm32@gmail.com>
      38d94c5a
    • Daniel Lezcano's avatar
      clocksource/drivers/sp804: Convert init function to return error · 2ef2538b
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      2ef2538b
    • Daniel Lezcano's avatar
      clocksource/drivers/keystone: Convert init function to return error · 53186505
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: default avatarSantosh Shilimkar <ssantosh@kernel.org>
      53186505
    • Daniel Lezcano's avatar
      clocksource/drivers/integrator-ap: Convert init function to return error · 76804d05
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      76804d05
    • Daniel Lezcano's avatar
      clocksource/drivers/imx-gpt: Convert init function to return error · c11cd416
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      c11cd416
    • Daniel Lezcano's avatar
      clocksource/drivers/prima2: Convert init function to return error · de23484d
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      de23484d
    • Daniel Lezcano's avatar
      clocksource/drivers/atmel-st: Convert init function to return error · adbaf525
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      adbaf525
    • Daniel Lezcano's avatar
      clocksource/drivers/atmel-pit: Convert init function to return error · 504f34c9
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      504f34c9
    • Daniel Lezcano's avatar
      clocksource/drivers/atlas7: Convert init function to return error · c41c96dd
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      c41c96dd
    • Daniel Lezcano's avatar
      clocksource/drivers/pistachio: Convert init function to return error · 41505a20
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      41505a20
    • Daniel Lezcano's avatar
      clocksource/drivers/orion: Convert init function to return error · fbe4b356
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      fbe4b356
    • Daniel Lezcano's avatar
      clocksource/drivers/time-lpc32xx: Convert init function to return error · 4e2afeb9
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: default avatarSylvain Lemieux <slemieux.tyco@gmail.com>
      4e2afeb9
    • Daniel Lezcano's avatar
      clocksource/drivers/time-efm32: Convert init function to return error · dc501113
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      dc501113
    • Daniel Lezcano's avatar
      clocksource/drivers/time-armada-370-xp: Convert init function to return error · 12549e27
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      12549e27
    • Daniel Lezcano's avatar
      clocksource/drivers/tegra20: Convert init function to return error · 53978bba
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      53978bba
    • Daniel Lezcano's avatar
      clocksource/drivers/tango_xtal: Convert init function to return error · 0683d503
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: default avatarMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
      0683d503
    • Daniel Lezcano's avatar
      clocksource/drivers/sun4i: Convert init function to return error · ce5dc743
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      ce5dc743
    • Daniel Lezcano's avatar
      clocksource/drivers/samsung_pwm: Convert init function to return error · 0993f57b
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      0993f57b
    • Daniel Lezcano's avatar
      clocksource/drivers/qcom: Convert init function to return error · ab51189c
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      ab51189c
    • Daniel Lezcano's avatar
      clocksource/drivers/pxa: Convert init function to return error · be3aff84
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      be3aff84
    • Daniel Lezcano's avatar
      clocksource/drivers/nomadik-mtu: Convert init function to return error · e46105af
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      e46105af
    • Daniel Lezcano's avatar
      clocksource/drivers/mxs: Convert init function to return error · e1d2b9f0
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      e1d2b9f0
    • Daniel Lezcano's avatar
      clocksource/drivers/mps2-timer: Convert init function to return error · 0cc7afc6
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: default avatarLiviu Dudau <Liviu.Dudau@arm.com>
      0cc7afc6
    • Daniel Lezcano's avatar
      clocksource/drivers/moxart: Convert init function to return error · b7357e65
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      b7357e65
    • Daniel Lezcano's avatar
      clocksource/drivers/mips-gic-timer: Convert init function to return error · d8152bf8
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      d8152bf8
    • Daniel Lezcano's avatar
      clocksource/drivers/meson6_timer.c: Convert init function to return error · ca46acb9
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      ca46acb9
    • Daniel Lezcano's avatar
      clocksource/drivers/h8300_tpu: Convert init function to return error · f2f9900c
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      f2f9900c
    • Daniel Lezcano's avatar
      clocksource/drivers/h8300_timer8: Convert init function to return error · 691f8f87
      Daniel Lezcano authored
      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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
      691f8f87