/* Convert decimal part of temperature to hexadecimal value.  */
static void mcp980x_temperature_to_hex_dec(uint32_t ul_decimal, uint8_t *p_hex)
/* Convert decimal part of temperature to hexadecimal value.  */
static void mcp980x_temperature_to_hex_dec(uint32_t ul_decimal, uint8_t *p_hex)
{
	*p_hex = (uint8_t) ((ul_decimal / MCP980X_DEC_UNIT) << 4);
}