Pavelski scores 2 goals to reach 40 for the season, San Jose closes with 3-2 win over Phoenix

San Jose Sharks' Joe Pavelski (8) celebrates his goal against Phoenix Coyotes' Mark Visentin, right, with teammates, including Joe Thornton, second from left, and Patrick Marleau (12), during the first period of an NHL hockey game on Saturday, April 12, 2014, in Glendale, Ariz. (AP Photo/Ross D. Franklin) (The Associated Press)

San Jose Sharks' Joe Pavelski (8) celebrates his second goal in the first period of an NHL hockey game against the Phoenix Coyotes with teammates Justin Braun (61) and Matt Irwin (52) on Saturday, April 12, 2014, in Glendale, Ariz. (AP Photo/Ross D. Franklin) (The Associated Press)

Joe Pavelski had two goals to become the fourth player in team history with 40 goals in a season and the San Jose Sharks closed out the regular season with a 3-2 win over the Phoenix Coyotes on Saturday night.

Pavelski scored his 40th goal on a power play early in the first period and added No. 41 midway through to join Owen Nolan, Jonathan Cheechoo and Patrick Marleau in San Jose's 40-goal club.

Logan Couture also scored and Dan Boyle had a pair of assists for the Sharks, who will face the Los Angeles Kings in the opening round of the playoffs.

Antti Niemi stopped 30 shots, including Shane Doan on a breakaway late in the third period.

Mike Ribeiro and Doan scored for Phoenix, which lost its seventh straight.