Skip to content
  • Andrey Smirnov's avatar
    thermal: qoriq: Embed per-sensor data into struct qoriq_tmu_data · 611343d9
    Andrey Smirnov authored
    
    
    Embed per-sensor data into struct qoriq_tmu_data so we can drop the
    code allocating it. This also allows us to get rid of per-sensor back
    reference to struct qoriq_tmu_data since now its address can be
    caluclated using container_of().
    
    Signed-off-by: default avatarAndrey Smirnov <andrew.smirnov@gmail.com>
    Cc: Chris Healy <cphealy@gmail.com>
    Cc: Lucas Stach <l.stach@pengutronix.de>
    Cc: Zhang Rui <rui.zhang@intel.com>
    Cc: Eduardo Valentin <edubezval@gmail.com>
    Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
    Cc: linux-imx@nxp.com
    Cc: linux-pm@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    611343d9