/* Convert hexadecimal value to decimal part of temperature.  */
static void mcp980x_hex_to_temperature_dec(uint8_t uc_hex, uint32_t *p_decimal)
/* Convert hexadecimal value to decimal part of temperature.  */
static void mcp980x_hex_to_temperature_dec(uint8_t uc_hex, uint32_t *p_decimal)
{
	*p_decimal = ((uint32_t) uc_hex >> 4) * MCP980X_DEC_UNIT;
}