def update_driver_standings(standings, race_result):
    """
    This function updates the driver's standings to reflect the points earned from a race.

    Parameters:
        standings (list): A list of dictionaries that contains the current driver's championship standings.
        race_result (list): A list of dictionaries that contains the results from a race.

    Returns:
        (list): The updated driver's standings list containing points earned from the given race.
    """

    for driver in race_result:
        for row in standings:
            if row['driver'] == driver['name']:
                row['points'] = driver['points'] + row['points']

    return standings