Get permalink and title by post name?

$posts = get_posts(array('name' => 'your-posts-name', 'post_type' => 'faq'));
foreach ($posts as $post) {
    $title = get_the_title($post->ID);
    $permalink = get_permalink($post->ID);
    break; //use this to limit to a single result
}

tech